Commit 88c06598 by BellCodeEditor

save project

parent 7e23c83c
Showing with 3 additions and 1 deletions
......@@ -8,6 +8,7 @@ while True:
break
name = input("请输入用户名:")
i-=1
print("您还剩"+str(i)+"次")
if name == username and password == userpassword:
print("登录成功")
print("欢迎来到贝尔编程!")
......@@ -16,7 +17,7 @@ while True:
else:
password=input("请输入密码:")
print("密码错误")
else if i==3 and i>3:
elif i==3 and i>3:
print("您的次数已用尽")
exit()
\ 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