Commit d46a37b0 by BellCodeEditor

save project

parent 368b4c15
Showing with 6 additions and 0 deletions
...@@ -6,8 +6,14 @@ name=input("請輸入賬戶名稱:") ...@@ -6,8 +6,14 @@ name=input("請輸入賬戶名稱:")
password=input("請輸入密碼:") password=input("請輸入密碼:")
if name==username and password==userpassword : if name==username and password==userpassword :
break break
print("密碼輸入錯誤")
print("登陸成功!") print("登陸成功!")
input("You a pig!hhhhhh") input("You a pig!hhhhhh")
if name!=username
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