Commit 5459bf09 by BellCodeEditor

save project

parent e19edc88
Showing with 5 additions and 2 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456"
user = "123456"
while True:
name=input("输入吧")
password=input("输入密码去")
......@@ -7,7 +7,10 @@ while True:
print("ok")
break
print("输错了")
if username!=name:
print("重新输入")
if userpassword !=password:
print("密码错误")
# 请用input()实现用户输入账号、密码的功能
......
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