Commit b6d6195c by BellCodeEditor

save project

parent 80c6a51f
Showing with 18 additions and 0 deletions
i=3
username = "sb"
userpassword = "123456"
while True:
if i>0:
name = input("用户名")
password = input("密码")
i-= 1
if name == username and password==userpassword:
print("成功")
break
if name != username:
print(用户名有误)
\ No newline at end of file
i=3
i=3
username=""
\ 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