Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = True
- while x == True:
- print ("Welcome To The Xmas Box Company's automated system!")
- response = input("Enter a customer ID, Q to quit ")
- print ("You Entered",(response) )
- last3 = (response[6:10])
- if len(response) != 9:
- print ("Input is not the correct length. Please try again")
- elif ((last3).isupper()) == True and len(response) == 9:
- print ("Identifier Accepted")
- quit()
- y = input("would you like to quit?")
- if y == "y" or "Y":
- quit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement