Commit 9acc4f01 by BellCodeEditor

save project

parent 8bc70f1b
Showing with 3 additions and 1 deletions
......@@ -2,7 +2,9 @@ i=3
username = "python"
userpassword = "123456"
while True:
if i<=0:
print("你给我听着!你现在还有"+str(i)+"次机会!")
i=i-1
if i>0:
name = input("请输入用户名:")
password = input("请输入密码:")
if name == username and password == userpassword:
......
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