Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 5. Парола за достъп
- # Програмата изисква от потребителя да въведе парола.
- # Ако тя е "python123", отпечатайте "Достъп разрешен". В противен случай – "Грешна парола".
- password = input("Please, insert a password: ")
- if password == "python123":
- print("Access is allowed")
- else:
- print("Wrong password")
Advertisement
Add Comment
Please, Sign In to add comment