Commit b3ff58ff by BellCodeEditor

save project

parent 0584d84a
Showing with 11 additions and 5 deletions
username = "MC" username = "MC"
userpassword = "1234567890" userpassword = "1234567890"
name=input("MC") while True:
password=input("1234567890") name=input("请输入用户名")
if name == username and password == userpassword password=input("请输入密码")
print("登录成功") if name == username and password == userpassword:
\ No newline at end of file print("登录成功")
break
elif name != username:
print("用户名错误!请*****************************************")
else:
print("密码错误!请*****************************************")
print("hellow************************************************")
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