Commit 3fca6f47 by BellCodeEditor

save project

parent 43a46ba6
Showing with 6 additions and 1 deletions
name=input("输入")
name=input("输入")
username = "python" # 保存在服务器数据库中的用户账号(正确的) username = "python" # 保存在服务器数据库中的用户账号(正确的)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
while True: while True:
...@@ -6,6 +8,8 @@ while True: ...@@ -6,6 +8,8 @@ while True:
if name==username and password==userpassword: if name==username and password==userpassword:
print("ok") print("ok")
break break
print("") if name!=username:
print("")
if password!=userpassword:
print("ok") print("ok")
\ 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