Commit 88e01287 by BellCodeEditor

save project

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