Commit 00c51624 by BellCodeEditor

auto save

parent 4c990a0e
Showing with 4 additions and 5 deletions
user = "0" user = "10"
userpassword = "0" userpassword = ""
username=input("输入用户名") username=input("输入用户名")
userpassword1 = input("输入密码") userpassword1 = input("输入密码")
if user==username and userpassword1==userpassword: if user==username and userpassword1==userpassword:
print("欢迎%s"%(user)) print("欢迎%s"%(user))
else: else:
print("虽然错误") print("输入错误")
# 如果用户输入的账号、密码正确,提示登陆成功 \ No newline at end of file
\ 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