Commit 34b1352a by BellCodeEditor

auto save

parent a519b2ac
Showing with 2995 additions and 9 deletions
i=3
username = "python" username = "python"
userpassword = "123456" userpassword = "123456"
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:
elif name!=username: print("登录成功!")
print("没有!") break
elif name!=username:
print("没有!")
else:
print("滚!")
else: else:
print("滚!") print("快拿身份证来领,不然这号送我了!!")
print("欢迎来到红石电路(TNT)!") exit()
print("欢迎来到红石电路(TNT)!")
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