Commit 96866e47 by BellCodeEditor

save project

parent 79c435f9
Showing with 25 additions and 0 deletions
i=3
username="SB"
userpassword="54188"
while True:
if i>0:
name=input("输入用户名")
password=input("输入密码")
i-=1
if name==username and password==userpassword:
print("登陆成功")
if name!=username:
print("用户名绰了")
continue
if password!=username:
print("密码绰了")
continue
else:
print("已锁定")
exit()
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