Commit efa4027a by BellCodeEditor

save project

parent b810c294
Showing with 17 additions and 0 deletions
username = "你爹"
userpassword = "滚犊子"
while True:
name = input("请输入皇上大名:")
password = input("请说入圣旨:")
if name == username and password == userpassword:
print("请皇上入殿!")
break
if name != username:
print("你不是皇上")
print("算了,再给你"+str(i)+"次机会")
continnue
if password != userpassword:
print("皇上请换个圣旨吧。")
print("您还有"+str(i)"次机会")
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