Commit 55d5c2be by BellCodeEditor

auto save

parent 435d720f
Showing with 1 additions and 1 deletions
...@@ -3,7 +3,7 @@ userpassword = "123456" ...@@ -3,7 +3,7 @@ userpassword = "123456"
i=3 i=3
while True: while True:
if i > 0: if i > 0:
print("你还有{}次输入的机会!".format(i)) print("你还有" + str(i) + "次输入机会!")
name = input("请输入用户名:") name = input("请输入用户名:")
password = input("请输入密码:") password = input("请输入密码:")
i -= 1 i -= 1
......
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