Commit 80a8939c by BellCodeEditor

save project

parent 9c6b87fd
Showing with 11 additions and 16 deletions
i=3
username = "你爹" username = "你爹"
userpassword = "滚犊子" userpassword = "滚犊子"
while True: while True:
if i>0: name = input("请输入皇上大名:")
name = input("请输入皇上大名:") password = input("请说入圣旨:")
password = input("请说入圣旨:") if name == username and password == userpassword:
i-=1 print("请皇上入殿!")
if name == username and password == userpassword: break
print("请皇上入殿!") if name != username:
break print("你不是皇上,给爷砍了他!")
if name != username: continnue
print("你不是皇上,给爷砍了他!") if password != userpassword:
continnue print("皇上请换个圣旨吧。")
if password != userpassword:
print("皇上请换个圣旨吧。")
else:
print("你真是命不够用啊,来人给我把他下油锅")
exit()
print("欢迎皇上上朝!") 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