Commit e1d3a442 by BellCodeEditor

save project

parent e79b4ae6
Showing with 18 additions and 14 deletions
i=3
username = "python"
userpassword = "123456"
while True:
name = input("请输入用户名:")
if name != username :
print("账号")
else:
break
while True:
password = input("请输入密码:")
if password == userpassword:
print("gogogo")
break
else:
print("...")
print("welcome\nglad to see")
\ No newline at end of file
if i>0:
name = input("请输入用户名:")
if name != username :
print("账号")
continue
password = input("请输入密码:")
if password == userpassword and name == username:
print("gogogo")
break
else:
print("...")
i -= 1
else:
print("!!!FBI WARNING!!!")
exit()
print("Welcome , sir\nGlad to see")
\ 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