Commit 7a865e34 by BellCodeEditor

save project

parent 9f1cf464
Showing with 9 additions and 7 deletions
...@@ -2,9 +2,11 @@ username = "唱跳rep打篮球" # 保存在服务器数据库中的用户账 ...@@ -2,9 +2,11 @@ username = "唱跳rep打篮球" # 保存在服务器数据库中的用户账
userpassword = "牧童遥指蔡徐坤" # 保存在服务器数据库中的用户密码(正确的密码) userpassword = "牧童遥指蔡徐坤" # 保存在服务器数据库中的用户密码(正确的密码)
# 请用input()实现用户输入账号、密码的功能 # 请用input()实现用户输入账号、密码的功能
a=input('山外青山楼外楼') while True:
b=input('借问篮球何处有') a=input('山外青山楼外楼')
# 如果用户输入的账号、密码正确,提示登陆成功 b=input('借问篮球何处有')
if a==username: # 如果用户输入的账号、密码正确,提示登陆成功
if b==userpassword: if a==username:
print('小黑子nb') if b==userpassword:
\ No newline at end of file print('小黑子nb')
break
\ 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