desislava_topuzakova

02. Password

May 8th, 2021
874
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 + "!")
RAW Paste Data