Commit ffa0bc67 by BellCodeEditor

save project

parent 64e35808
Showing with 4 additions and 4 deletions
...@@ -4,10 +4,10 @@ while True: ...@@ -4,10 +4,10 @@ while True:
name = input("你叫啥:") name = input("你叫啥:")
password = input("密码多少:") password = input("密码多少:")
if name == username and password == userpassword: if name == username and password == userpassword:
print("错了,重输") print("登上了")
break
if name !=usename: if name !=usename:
prent("你自己叫啥都忘了") prent("你自己叫啥都忘了")
continue
if password != userpassword: if password != userpassword:
prent("密码错了") prent("密码错了")
\ No newline at end of file
break
print("登上了")
\ 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