Advertisement
Guest User

Untitled

a guest
Oct 13th, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.65 KB | None | 0 0
  1. print("BUSINESS SOLUTION"'\n' "online office supply retailer that ships furniture")
  2. print("_________________________________________________________ \n")
  3.  
  4. print("Welcome! \n1) Login \n2) New User?")
  5.  
  6. choice = int(input("\nEnter your choice [1-2]: "))
  7.  
  8.  
  9. if choice == 1:
  10.     print("Enter your ID and password")
  11.     ID = input("ID: ")
  12.     password = input("Password: ")
  13. #----------------------------------------------------------------
  14. elif choice == 2:
  15.     print("Complete the fields below")
  16.     first_name = input("First name: ")
  17.     last_name = input("Last name: ")
  18.     EmployeeID = int(input("Employee ID: "))
  19.     email = input("Email: ")
  20.     username = input("Username: ")
  21.     #password currently set to letters only. might add number & character options later
  22.     new_password = input("Password: ")
  23.     print("\nWelcome new user")
  24. #while choice != 1 and 2:
  25.  
  26. while choice != 1 and choice != 2 :
  27.     print("Invalid option. Please try again.")
  28.     choice = int(input("\nEnter your choice [1-2]: "))
  29.    
  30.    
  31.  
  32. #come back to see how to put two condition in the while loopp
  33.  
  34.  
  35. #-----------------------------------------------------------------
  36.    
  37. print("\nSelect the options below to display sales data")
  38. print("1) 10 Most profitable \n2) 10 Least profitable")
  39. displayChoice = input("\nDisplay your choice [1-2]: ")
  40.  
  41. if displayChoice == 1:
  42.     print("10 Most profitable")
  43.     month_option1 = input("Enter month: ")
  44.     quarter_option1 = input("Enter Quarter(Q1/Q2/Q3/Q4): ")
  45.    
  46. if displayChoice == 2:
  47.     print("10 Least profitable")
  48.     month_option2 = input("Enter month: ")
  49.     quarter_option2 = input("Enter Quarter(Q1/Q2/Q3/Q4): ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement