Commit 5eba7703 by BellCodeEditor

save project

parent c5f52f8b
Showing with 31 additions and 8 deletions
username = "python" username = "900457"
userpassword = "123456" userpassword = "111111"
name = input("请输入用户名:") while True:
password = input("请输入密码:") name=input("请输入用户名:")
while nameuser!=name or password!=userpassword: if username!=name:
name = input("请输入用户名:") print("用户名错误")
password = input("请输入密码:") continue
print("密码正确") password=input("请输入密码:")
if password!=userpassword:
print("MIMA错了")
continue
if username==name or password==userpassword:
break
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