Commit 176cfbce by BellCodeEditor

save project

parent df316dba
Showing with 19 additions and 13 deletions
i=3
while True: while True:
a = 'edu1119887003' if i>0:
b = '123456' a = 'edu1119887003'
name = input('请输入用户名:') b = '123456'
password = input('请输入密码:') name = input('请输入用户名:')
if (name == a and password == b): password = input('请输入密码:')
print('登录成功') if (name == a and password == b):
break print('登录成功')
break
if name!=a: i-=1
print('用户名错误') if name!=a:
continue print('用户名错误')
if password!=b: continue
print('密码错误') if password!=b:
print('密码错误')
else:
print('一小时后再来')
exit()
print('欢迎来到黑客网站') 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