Commit 2235e2d5 by BellCodeEditor

save project

parent 7641544e
Showing with 8 additions and 8 deletions
......@@ -2,16 +2,16 @@ username = "ZQY123456" # 保存在服务器数据库中的用户账号(正
userpassword = "54188" # 保存在服务器数据库中的用户密码(正确的密码)
name1=input("名字")
name=input("密码")
while True:
name1=input("名字")
name=input("密码")
# 请用input()实现用户输入账号、密码的功能
if name1==username and name==userpassword:
print("登录成功")
if name1==username and name==userpassword:
print("登录成功")
break
print("登录失败")
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