password break example
This commit is contained in:
parent
278825e796
commit
6f601effc5
1 changed files with 9 additions and 0 deletions
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 a new issue