Commit 2d4d3641 by BellCodeEditor

save project

parent cd404f35
Showing with 9 additions and 6 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("账号密码:")
if a==username and b==userpassword:
print("登陆成功!") print("登陆成功!")
else: break
print("密码错误") else:
\ No newline at end of file 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