Commit af62e3fb by BellCodeEditor

save project

parent d4e520b3
Showing with 3 additions and 0 deletions
i=3
while True: while True:
if i>0
name=input("用户名多少") name=input("用户名多少")
mima=input("密码是多少") mima=input("密码是多少")
if name==username and mima==userpassword: if name==username and mima==userpassword:
...@@ -11,5 +13,6 @@ while True: ...@@ -11,5 +13,6 @@ while True:
else: else:
if mima!=userpassword: if mima!=userpassword:
print("密码错误,请重新输入") print("密码错误,请重新输入")
else:
exit() exit()
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