From ca2a456cf6497a8b70dc05f339b327fb4669bb1a Mon Sep 17 00:00:00 2001 From: Tr1np Date: Sat, 25 Jan 2025 18:28:24 +0000 Subject: [PATCH 1/2] Change greeting put welcome --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 723e869..93fa0c1 100644 --- a/main.py +++ b/main.py @@ -17,7 +17,7 @@ def get_user_name(): return input("Please enter your name: ") def greet_user(name): - print(f"Hello, {name}!") + print(f"Welcome, {name}!") def main(): user_name = get_user_name() From 980300c8a9e2bcd1558d3f88c191d58a69f5fc08 Mon Sep 17 00:00:00 2001 From: Tr1np Date: Mon, 27 Jan 2025 02:55:03 +0000 Subject: [PATCH 2/2] used beginiing of coding to start project --- main.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/main.py b/main.py index 93fa0c1..3b94a23 100644 --- a/main.py +++ b/main.py @@ -13,6 +13,9 @@ """ +from os import name + + def get_user_name(): return input("Please enter your name: ") @@ -25,3 +28,20 @@ def main(): if __name__ == "__main__": main() +print("Hello and welcome to She's Happy Hair!") +print("We’re excited that you're interested in applying for a position with us.") +age = int(input(f"Hi {name}, how old are you? ")) +print(f"Thanks for sharing, {name}!") +print("How can I assist you with your job application today?") + +print("menu") +choice = input("Enter the number of your choice: ") +if choice == '1' and age >= 18: + print("You are eligible to continue with the application.") + # Or you can continue to next steps of the application process +choice == '2' and age < 18 +print(f"Sorry, {name}. You must be 18 or older to apply. Best of luck in the future!") + # End the program or offer a different response +choice == 3 +print("You chose to talk to the manager. ") # Option to continue talking to the manager +print("Invalid choice or age not eligible. Please choose a valid option.")