Skip to content

Instantly share code, notes, and snippets.

@KaiserWilhelm23
Created July 15, 2020 01:13
Show Gist options
  • Save KaiserWilhelm23/8e7e167ae2f055f0c0cf65017c1440e8 to your computer and use it in GitHub Desktop.
Save KaiserWilhelm23/8e7e167ae2f055f0c0cf65017c1440e8 to your computer and use it in GitHub Desktop.
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