Commit fad8f875 by BellCodeEditor

save project

parent 76ca1f3c
Showing with 18 additions and 5 deletions
username = "python"
username = "python"
username = "python"
useroassword = "123456"
while True
name = input("请输入用户名:")
password = input("请输入密码:")
while True:
if i>0:
name = input("请输入用户名:")
password = input("请输入密码:")
i -= i
if name == username and password == useroassword:
input("登录成功")
input("用户名或密码错误重输")
break
if name != username:
input("用户名错误")
input("你还有"+str(i)"次机会")
continue
if password != useroassword:
input("密码错误")
input("你还有"+str(i)"次机会")
else:
input("一小时后在来")
exit()
input("欢迎")
\ 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