Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- times = 0
- passcode = 0
- while times < 3:
- passcode = input("Nhap mat khau:")
- if passcode == "2021" or passcode == "0042":
- print("Chao mung den voi Sieu May Tinh")
- exit()
- else:
- print("Mat khau sai")
- times = times + 1
- print("Da nhap sai mat khau qua 3 lan!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement