Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("BUSINESS SOLUTION"'\n' "online office supply retailer that ships furniture")
- print("_________________________________________________________ \n")
- print("Welcome! \n1) Login \n2) New User?")
- choice = int(input("\nEnter your choice [1-2]: "))
- if choice == 1:
- print("Enter your ID and password")
- ID = input("ID: ")
- password = input("Password: ")
- #----------------------------------------------------------------
- elif choice == 2:
- print("Complete the fields below")
- first_name = input("First name: ")
- last_name = input("Last name: ")
- EmployeeID = int(input("Employee ID: "))
- email = input("Email: ")
- username = input("Username: ")
- #password currently set to letters only. might add number & character options later
- new_password = input("Password: ")
- print("\nWelcome new user")
- #while choice != 1 and 2:
- while choice != 1 and choice != 2 :
- print("Invalid option. Please try again.")
- choice = int(input("\nEnter your choice [1-2]: "))
- #come back to see how to put two condition in the while loopp
- #-----------------------------------------------------------------
- print("\nSelect the options below to display sales data")
- print("1) 10 Most profitable \n2) 10 Least profitable")
- displayChoice = input("\nDisplay your choice [1-2]: ")
- if displayChoice == 1:
- print("10 Most profitable")
- month_option1 = input("Enter month: ")
- quarter_option1 = input("Enter Quarter(Q1/Q2/Q3/Q4): ")
- if displayChoice == 2:
- print("10 Least profitable")
- month_option2 = input("Enter month: ")
- quarter_option2 = input("Enter Quarter(Q1/Q2/Q3/Q4): ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement