Commit f131a0cc by BellCodeEditor

auto save

parent b111426e
Showing with 6 additions and 6 deletions
username = "74" username = "1"
userpassword = "54188" userpassword = "1"
while True: while True:
name = input("请输入用户名:") name = input("请输入用户名:")
password = input("请输入密码:") password = input("请输入密码:")
...@@ -8,11 +8,11 @@ while True: ...@@ -8,11 +8,11 @@ while True:
break break
if not name != username: if not name != username:
print("鬼,名字错了,重输!") print("鬼,名字错了,重输!")
continue
if not password != userpassword: if not password != userpassword:
print("鬼,密码错了,重输!") print("鬼,密码错了,重输!")
if name != username and password != userpassword: if name != username and password != userpassword:
print("没错,就是玩!") print("没错,就是玩!")
print("欢迎来到贝尔编程!") print("欢迎")
\ No newline at end of file
\ 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