Commit b4b6531a by BellCodeEditor

save project

parent 67cdf9ae
Showing with 10 additions and 1 deletions
usename="fhhsgdsb" usename="fhhhb"
usemima="we are dsb" usemima="we are dsb"
while True: while True:
name=input("请输入账户名:") name=input("请输入账户名:")
...@@ -8,7 +8,16 @@ while True: ...@@ -8,7 +8,16 @@ while True:
print("登陆成功") print("登陆成功")
print("-"*30) print("-"*30)
break break
if usename!=name and usemima==mima:
print("账户名错误❌")
print("登陆失败")
print("-"*30)
if usename==name and usemima=mima:
print("密码错误❌")
print("登陆失败")
print("-"*30)
else: else:
print("账户名和密码都错误❌")
print("登陆失败") print("登陆失败")
print("-"*30) print("-"*30)
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