Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x=1
- while x==1:
- type = raw_input("Please enter if you are a employee, vendor, or customer.")
- if type == "employee":
- username = raw_input("Please enter your Employee Username. ")
- if username == "emp001":
- password = raw_input("Please enter password. ")
- if password == "EMP222":
- print"WELCOME to the Business Employee."
- x==0
- break
- if password != "EMP222":
- print"Thats the wrong password."
- x==0
- if username != "emp001":
- print "Thats the wrong username."
- x==0
- if type == "vendor":
- username = raw_input("Please enter your Vendor Username. ")
- if username == "VEN002":
- password = raw_input("Please enter password. ")
- if password == "vendor":
- print"WELCOME to the Business Vendor."
- x==0
- break
- if password != "vendor":
- print"Thats the wrong password."
- x==0
- if username != "VEN002":
- print "Thats the wrong username."
- x==0
- if type == "customer":
- username = raw_input("Please enter your Customer Username. ")
- if username == "CUST111":
- password = raw_input("Please enter password. ")
- if password == "buynow999":
- print"WELCOME to the Business Customer."
- x==0
- break
- if password != "buynow999":
- print"Thats the wrong password."
- x==0
- if username != "CUST111":
- print "Thats the wrong username."
- x==0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement