Commit efe64127 by BellCodeEditor

save project

parent 5bd3489f
Showing with 19 additions and 12 deletions
i=5
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=i-1
break if name==username and password==userpassword:
if name!=username: print("登陆成功")
print("登陆失败,用户名错误!臭蟑螂") break
continue if name!=username:
if password!=userpassword: print("登陆失败,用户名错误!臭蟑螂")
print("登陆失败,密码错误!臭蟑螂") continue
continue if password!=userpassword:
\ No newline at end of file print("登陆失败,密码错误!臭蟑螂")
continue
else:
print("你这个肮脏的黑客,我已经黑进了你的电脑,去死吧!")
exit()
print("小B玩意还挺牛逼,让你进来了。")
\ 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