Commit 6a87c1e5 by BellCodeEditor

save project

parent 83a30b8b
Showing with 4 additions and 2 deletions
......@@ -3,6 +3,7 @@ userpassword = "54188" # 保存在服务器数据库中的用户密码(正
# 请用input()实现用户输入账号、密码的功能
while True:
i>0
name=input('请输入你的账号')
password=input('请输入你的密码')
......@@ -11,9 +12,10 @@ while True:
print('登录成功')
break
if name!= username and password!=userpassword :
print('此病房不存在,请再次输入')
print('此病房不存在,请再次输入 土鳖 [○・`Д´・ ○]')
if name!= username:
print('此病房名错误,请再次输入 土鸡(→_→ 凸) ')
print('此病房名错误,请再次输入 土鸡(-_| 凸) ')
if password!=userpassword:
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