zyulfi

Passw

May 14th, 2025 (edited)
777
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.43 KB | Source Code | 0 0
  1. # 5. Парола за достъп
  2. # Програмата изисква от потребителя да въведе парола.
  3. # Ако тя е "python123", отпечатайте "Достъп разрешен". В противен случай – "Грешна парола".
  4.  
  5. password = input("Please, insert a password: ")
  6.  
  7. if password == "python123":
  8.     print("Access is allowed")
  9. else:
  10.     print("Wrong password")
Tags: Passw
Advertisement
Add Comment
Please, Sign In to add comment