Commit 2b55a9bd by BellCodeEditor

save project

parent d46a37b0
Showing with 11 additions and 13 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456"
while True:
pass
name=input("請輸入賬戶名稱:")
password=input("請輸入密碼:")
if name==username and password==userpassword :
break
print("密碼輸入錯誤")
print("登陸成功!")
input("You a pig!hhhhhh")
if name!=username
print("請重新輸入")
if password!=userpassword
print("請重新輸入")
name=input("請輸入賬戶名稱:")
password=input("請輸入密碼:")
if name==username and password==userpassword :
break
if name!=username:
print("請重新輸入")
continue
if password!=userpassword:
print("請重新輸入")
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