Last active
January 10, 2021 18:19
-
-
Save hungryzi/21202ace5e7b085ec4b94d10675a5cdf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
counter = 0 | |
while counter < 3: | |
passcode = input("What's the passcode? ") | |
if passcode == '0042': | |
print("Welcome!") | |
break | |
else: | |
print("Wrong passcode!") | |
counter = counter + 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment