Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- username = input()
- password = input()
- # повтаряме: въвеждаме парола
- # стоп: въведаната парола == password
- # продължавам: въведената парола != password
- while True:
- entered_password = input()
- if entered_password == password:
- print(f"Welcome {username}!")
- break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement