password break example
This commit is contained in:
parent
278825e796
commit
6f601effc5
9
break.example.4.py
Normal file
9
break.example.4.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
for i in range(3):
|
||||
s = input('Enter password:')
|
||||
if s == 'maviay':
|
||||
print('Ok')
|
||||
break
|
||||
else:
|
||||
print('Invalid password')
|
||||
else:
|
||||
print('Your account blocked')
|
Loading…
Reference in New Issue
Block a user