Commit 33907581 by BellCodeEditor

save project

parent 0310105f
Showing with 9 additions and 4 deletions
usename="小贝"
userpassword="xingqiu"
name=input("请输入账号:")
password=input("请输入密码:")
if usename == name and password == userpassword
print("登录成功!")
while True:
name=input("请输入账号:")
password=input("请输入密码:")
if name == usename and password == usepassword:
print("登录成功!")
break
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