Commit 1082e1f9 by BellCodeEditor

save project

parent 4e7ef6e8
Showing with 14 additions and 11 deletions
i=3 i=3
username="别他妈动 " username="他妈的别动 "
userpassword="54188 14524 " userpassword="54188 1452"
while True: while True:
if i>0: if i>0:
name=input("名字:") name=input("名字:")
password=input("密码:") password=input("密码:")
i-=i i-=1
if name==username and password==userpassword: if name==username and password==userpassword:
print("成功!") print("登录成功")
break break
if name != username: if name != username:
print("name从输:") print("名字错误")
print("您还有"+str(i)+"次登录机会")
continue continue
if password != userpassword: if password != userpassword:
print("password从输:") print("密码错误")
print("您还有"+str(i)+"次登录机会")
else: else:
print("滚!明天再来") print("账号被冻结")
print("真棒") exit()
\ No newline at end of file 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