Commit 8cd7f758 by BellCodeEditor

save project

parent 5c9b87bd
Showing with 22 additions and 0 deletions
username = "python"
i=10
userpassword = "123456"
while True:
if i>0:
name = input("请输入用户名:")
password = input("请输入密码:")
i-=1
if name != username :
print("用户名错误!请重新输入")
elif name==username and userpassword ==password :
print("登录成功!")
break
else:
print("mima错误!请重新输入")
else:
print("现在锁屏,请50年后在试")
print("你是不是黑客")
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