Commit c99964ed by BellCodeEditor

save project

parent 4d3d3d71
Showing with 12 additions and 7 deletions
username = "python" username = "python"
userpassword = "123456" userpassword = "123456"
a=input("请输入用户名") while True:
b=input("请输入用户密码") a=input("请输入用户名:")
if a==username and b==userpassword: b=input("请输入用户密码:")
print("密码正确,登陆成功")
else: if a==username and b==userpassword:
print("密码错误,登陆失败") print("密码正确,登陆成功")
break
else:
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