Commit 548c3201 by BellCodeEditor

save project

parent 5c9b87bd
Showing with 20 additions and 0 deletions
d=4
username = "3"
userpassword = "1933-1945"
while True:
if d>0:
name = input("请输入用户名:")
password = input("请输入密码:")
d-=1
if name == username and password == userpassword:
print("登录成功!")
break
if name != username:
print("你不是希特勒")
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