Commit 92e0b093 by BellCodeEditor

auto save

parent 96393c75
Showing with 28 additions and 0 deletions
a="依依"
b="123"
while True:
a1=input("用户名")
b1=input("密码")
if a1==a and b1==b:
print("成功")
break
if a1!=a:
print("用户")
if b1!=b:
print("m")
print("欢迎")
\ No newline at end of file
user="依依"
mima="1111"
while True:
user1=input("请输入用户名:")
mima1=input("请输入密码:")
if user1==user and mima1==mima:
print("登陆成功")
break
if mima1!=mima:
print("密码错误")
if user1!=user :
print("用户名错误")
print("欢迎回来")
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