Created
July 15, 2020 01:13
-
-
Save KaiserWilhelm23/8e7e167ae2f055f0c0cf65017c1440e8 to your computer and use it in GitHub Desktop.
This file contains 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
import time | |
print('username: Admin') | |
def login(): | |
user = input('password: ') | |
if user.lower() == 'root': | |
time.sleep(0.5) | |
print('you succesfully logid in') | |
else: | |
time.sleep(0.5) | |
print('invalid password') | |
print('try again') | |
print('------------------') | |
login() | |
login() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment