Commit 23918763 by BellCodeEditor

save project

parent 550bf917
Showing with 7 additions and 3 deletions
......@@ -4,8 +4,12 @@ while True:
a=input("账号密码是多少?")
b=input("手机号码是多少?")
if a == usename and b == userpassword:
print ("输入正确,登录成功")
print ("登录成功")
break
else:
print ("输入错误,登录失败")
\ No newline at end of file
if a != usename:
print ("用户名不存在,请重新输入!")
if b != userpassword:
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