password break example

This commit is contained in:
Mert Gör 🇹🇷 2023-05-21 09:03:31 +03:00
parent 278825e796
commit 6f601effc5
No known key found for this signature in database
GPG key ID: 2100A876D55B39B9

9
break.example.4.py Normal file
View 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')