Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- count=0
- username="user"
- userpassword="12580"
- while True:
- if count<3:
- name=input("please input user name:")
- password=input("please input user password:")
- if name==username and password==userpassword:
- print("success to ")
- break
- else:
- print("worse")
- count+=1
- else:
- print("try again")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement