Commit 88e01287 by BellCodeEditor

save project

parent c81a3eab
Showing with 18 additions and 11 deletions
i=15
username = "a"
userpassword = "6"
while True:
name = input("你叫啥:")
password = input("密码多少:")
if name == username and password == userpassword:
print("登上了")
break
if name !=usename:
prent("你自己叫啥都忘了")
continue
if password != userpassword:
prent("密码错了")
\ No newline at end of file
if i>0
name = input("你叫啥:")
password = input("密码多少:")
i-=1
if name == username and password == userpassword:
print("登上了")
break
if name !=username:
print("你自己叫啥都忘了")
continue
if password != userpassword:
print("密码错了")
else:
print("账户锁了,打不开,号废了")
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