Commit 8d10ef26 by BellCodeEditor

save project

parent 0f1ff386
Showing with 13 additions and 5 deletions
zh="www"
mm="123456"
name=input("输入账号:")
mima=input("输入密码:")
if name==zh and mima==mm:
print("登录成功")
\ No newline at end of file
while True:
name=input("输入账号")
mn=input("输入密码")
if name==zh and mm==mn:
print("输入正确")
break
else:
print("输入错误")
if name != zh:
print("用户名错误,请重新编辑")
if mm != mn:
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