Commit cfbf2df5 by BellCodeEditor

save project

parent 63ac3d7b
Showing with 6 additions and 4 deletions
i=3
username = "python"
userpassword = "123456"
i=3
while True:
if i>0:
name = input("请输入用户名:")
......@@ -10,10 +10,11 @@ while True:
print("登录成功!")
break
if name!=username:
print("用户名错误!请重新输入")
continue
print("用户名错误!请重新输入")
continue
if password!=userpassword:
print("密码错误!请重新输入")
print("密码错误!请重新输入")
else:
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