Commit b39fb68e by BellCodeEditor

auto save

parent b810c294
Showing with 24 additions and 0 deletions
#数据
username = "python"
userpassword = "123"
i = 3
while True:
name = input("count")
password = input("password")
if i > 0 :
if username == name and password == userpassword:
print("logged in ")
else:
if username != name:
print("wrong" + "left" +str(i) )
i = i - 1
continue
else:
print("wrong" + "left"+ str(i) )
i = i - 1
continue
i = i - 1
else:
print("cometo my office")
break
\ 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