Commit 79600589 by BellCodeEditor

save project

parent 00a41812
Showing with 8 additions and 4 deletions
......@@ -4,6 +4,10 @@ while True:
usename1=input("请输入账号")
usepassword1=input("请输入密码")
if usename==usename1 and usepassword==usepassword1:
break
print("重新输入")
print("登录成功")
\ No newline at end of file
print("登录成功")
break
elif usename!=usename1
print("用户名不存在,请重新输入")
else:
print("密码输入有误,请重新输入")
print("欢迎进入贝尔编程")
\ 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