Commit 5865b462 by BellCodeEditor

save project

parent b79f8be5
Showing with 15 additions and 10 deletions
username = "asdfghjkl" username = "asdfghjkl"
userpassword = "20120501" userpassword = "20120501"
while True: while True:
name = input("请告诉我你的账号名: ") if i>0:
password = input("那你的密码是多少: ") name = input("请告诉我你的账号名: ")
if name == username and password == userpassword: password = input("那你的密码是多少: ")
print("登陆成功,我等你好久了!") i-=1
break if name == username and password == userpassword:
elif name != username: print("登陆成功,我等你好久了!")
print("用户名错误,你个**") break
continue if name != username:
print("用户名错误,你个**")
continue
if password != userpassword:
print("密码错误,你个**")
else: else:
print("密码错误,你个**") print("你的密码已经锁死,请到公司解锁")
continue exit()
print("欢迎来到我的世界!") 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