Commit 2ab358d5 by BellCodeEditor

save project

parent 9acdf46f
Showing with 19 additions and 0 deletions
u_n="so"
u_n="so"
u_p="013131"
name=input("请输入账号:")
password=input("请输入密码:")
while True:
if name!=u_n:
print("用户名错误!")
continue
if password!=u_p:
print("密码错误!")
continue
if name==u_n and password==u_p:
print("登陆成功!")
break
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