Commit 5d3d9539 by BellCodeEditor

save project

parent d285b3b6
Showing with 14 additions and 8 deletions
username = "古德里安" i=3
userpassword = "古德里安" username = "1"
userpassword = "1"
while True: while True:
name = input("古德里安") if i>0:
password = input("古德里安") name = input("账号")
password = input("密码")
i -=1
if name == username and password == userpassword: if name == username and password == userpassword:
print("注意,坦克!") print("hi!")
break break
if username != name: if username != name:
print("namebye!") print("namebye!")
if userpassword != name: elif userpassword != password:
print("密码bye!") print("密码bye!")
print("hi!") # print("hi!")
\ No newline at end of file else:
print("byebye")
exit()
\ 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