Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Do you want to log in or signup?")
- choice=input()
- if(choice=="login"):
- print("Type your username")
- username=input()
- print("Now, choose your password")
- password=input()
- if((password!=username) and (len(password)<=7)):
- print("To log in type your password again")
- else:
- print("You cant use that password")
- password2=input()
- if(password==password2):
- print("You succesfully logged in")
- else:
- print("Your password is incorrect")
- if(choice=="signup"):
- print("Select your username")
- username2 = input()
- print("Now select your password")
- password3 = input()
- print("please confirm your password")
- password4=input()
- if(password3==password4):
- print("You created an account")
- else:
- print("There was an error with the account creation")
Add Comment
Please, Sign In to add comment