Commit 02787571 by BellCodeEditor

save project

parent f9ed2e57
Showing with 9 additions and 2 deletions
i=3
username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
while True:
if i=0:
name=input("请输入用户名:")
password=input("请输入密码:")
i-=1
if name==username and password==userpassword:
print("输入正确")
break
elif name!=username:
if name!=username:
print("输入错误")
continue
else password!=userpassword:
if password!=userpassword:
print("输入错误")
else:
print("输入超次,1小时再来")
print("欢迎来到WC")
......
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