Commit bd1a38be by BellCodeEditor

save project

parent 63de481a
Showing with 8 additions and 1 deletions
i = 3
username = "1111"
userpasswor = "1212"
while True
while True:
if i>0
name = input"输入用户名"
password = input("输入密码")
i--1
if name ==username and password==userpasswor
print("登陆成功")
break
......@@ -11,4 +14,7 @@ while True
continue
if password !=userpassword:
print("密码没有")
else:
print("已锁定,30分钟再来")
exit()
print("欢迎来到智慧之城")
\ 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