Commit 550bf917 by BellCodeEditor

save project

parent 2801e1ad
Showing with 10 additions and 8 deletions
usename = "python" usename = "python"
userpassword = "123456" userpassword = "123456"
while True:
a=input("账号密码是多少?") a=input("账号密码是多少?")
b=input("手机号码是多少?") b=input("手机号码是多少?")
if a == usename and b == userpassword: if a == usename and b == userpassword:
print ("输入正确,登录成功") print ("输入正确,登录成功")
else: break
print ("输入错误,登录失败") else:
\ No newline at end of file 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