Commit b881afdd by BellCodeEditor

save project

parent ca8693f1
Showing with 7 additions and 0 deletions
...@@ -6,8 +6,14 @@ while True: ...@@ -6,8 +6,14 @@ while True:
a=input("请输入账号:") a=input("请输入账号:")
b=input("密码:") b=input("密码:")
# 如果用户输入的账号、密码正确,提示登陆成 # 如果用户输入的账号、密码正确,提示登陆成
if a!= username and b!=userpassword:
print("输入错误")
if a== username and b==userpassword: if a== username and b==userpassword:
print("输入正确") print("输入正确")
break break
print("tisritywwao4ty 0q49") print("tisritywwao4ty 0q49")
if a!= username :
print("输入错误")
if b!=userpassword:
print("输入错误")
print("ytayfeoay") print("ytayfeoay")
\ 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