Commit 129e53ad by BellCodeEditor

save project

parent b810c294
Showing with 23 additions and 0 deletions
i=100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
username = "python"
userpassword = "123456"
while True:
if i>0:
i-=1
name = input("请输入用户名:")
if name != username:
print("牛马,你输的什么名字,呸!")
print("你还有"+str(i)+"次机会")
continue
password = input("请输入密码:")
if password != userpassword:
print("牛马,你输的什么密码,呸!")
print("你还有"+str(i)+"次机会")
if name == username and password == userpassword:
print("登录成功!")
break
else:
print("牛马,你没机会了,100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000次机会你都破解不了密码,你是什么牛马?")
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