Commit fc246207 by BellCodeEditor

auto save

parent 021802d8
Showing with 6 additions and 14 deletions
username = "1" username="1"
userpassword = "2" userpassword="2"
while True: name=input("请输入账号")
name = input("请输入用户名:") password=input("请输入密码")
password = input("请输入密码:") if name==
if name == username and password == userpassword:
print("登录成功!")
break
elif name!=username:
print("账号错误")
else:
print("密码错误")
print("错误")
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