Advertisement
desislava_topuzakova

02. Password

May 8th, 2021
1,254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1. username = input()
  2. password = input()
  3.  
  4. # повтаряме: въвеждане на парола
  5. # спираме: въведената парола == password
  6. # продължаваме: въведената парола != password
  7. entered_password = input()
  8. while entered_password != password:
  9.     entered_password = input()
  10.  
  11. print("Welcome " + username + "!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement