count=0
while count < 3:
Username = input('Username: ')
Password = input('Password: ')
numAttempts = 3
if Password=='123' and Username=='admin':
print('Successfully logged in')
elif:
print('Invalid username and password!')
count += 1
else numAttempts > 3:
print("Account has been blocked")
File "", line 8 if Password=='123' and Username=='admin': ^ IndentationError: unexpected indent
Aucun commentaire:
Enregistrer un commentaire