Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- def Scenario2():
- film_comedy = ['Anchorman','The Hangover','Ted']
- film_horror = ['The Exorcist','The Shining','Scream']
- film_action = ['Die Hard','The Matrix','Batman']
- film_animation = ['Toy Story','The Incredibles','The Lion King']
- print("Hello, welcome to the online streaming service")
- username = len(input("Please Enter a username between 4 and 12 characters: "))
- while username < 4 or username > 12:
- print("That username is not within the boundaries")
- username = len(input("Please Enter a username between 4 and 12 characters: "))
- password = input("Now enter a password: ")
- password1 = input("Please re-enter the password: ")
- if password1 == password:
- print("Congratualtions on your new account")
- while password1 != password:
- print("They don't match")
- password = input("Now enter a password: ")
- password1 = input("Please re-enter the password: ")
- if password1 == password:
- print("Congratualations on your new account")
- usernameinput = input("Please Enter your username: ")
- if usernameinput == username:
- print("Great job")
- while usernameinput != username:
- print("That is the incorrect Username")
- usernameinput = input("Please Enter your username: ")
- if usernameinput == username:
- print("Great job")
- Scenario2()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement