Commit bf023aff by BellCodeEditor

save project

parent 9c93d07d
Showing with 6 additions and 2 deletions
......@@ -2,7 +2,10 @@ zhanghao="python"
mima="123456"
shuru1=input("请输入账号:")
shuru2=input("请输入密码:")
if zhanghao==shuru1 and mima==shuru2:
while True:
if zhanghao==shuru1 and mima==shuru2:
print("登录成功!")
else:
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