Commit 76849b46 by BellCodeEditor

save project

parent 45865452
Showing with 2 additions and 1 deletions
......@@ -7,11 +7,12 @@ while True:
i-=1
if name!=username:
print('杰哥,名字不对哦')
print("杰哥,你还有"+str(i)+"次登录机会")
continue
password=input("请输入密码:")
if password!=userpassword:
print("杰哥,密码不对哦")
print("杰哥,你还有"+str(i)+"次登录机会")
continue
if name==username and password==userpassword:
print("杰哥好!")
......
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