Commit 6c50b291 by BellCodeEditor

save project

parent bfb7d2b4
Showing with 11 additions and 4 deletions
username = "asdfghjkl"
userpassword = "20120501"
name = input("请告诉我你的账号名: ")
password = input("那你的密码是多少: ")
if name == username and password == userpassword:
print("登陆成功,我等你好久了!")
while True:
name = input("请告诉我你的账号名: ")
password = input("那你的密码是多少: ")
if name == username and password == userpassword:
print("登陆成功,我等你好久了!")
break
if name != username:
print("用户名错误,你个**")
if password != userpassword:
print("密码错误,你个**")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment