Commit 169e1077 by BellCodeEditor

auto save

parent 71ec6bc8
Showing with 15 additions and 0 deletions
username = "zheng"
userpassword = "245418"
while True:
n = input("请输入用户名:")
m = input("请输入密码:")
if n == username and m == userpassword:
print("登录成功!")
break
if n != username:
input("用户名出错")
continue
if m !=userpassword:
input("密码出错")
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