Commit b3ff58ff by BellCodeEditor

save project

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