Commit bf023aff by BellCodeEditor

save project

parent 9c93d07d
Showing with 8 additions and 5 deletions
...@@ -2,7 +2,10 @@ zhanghao="python" ...@@ -2,7 +2,10 @@ zhanghao="python"
mima="123456" mima="123456"
shuru1=input("请输入账号:") shuru1=input("请输入账号:")
shuru2=input("请输入密码:") shuru2=input("请输入密码:")
if zhanghao==shuru1 and mima==shuru2: while True:
print("登录成功!") if zhanghao==shuru1 and mima==shuru2:
else: print("登录成功!")
print("密码错误") break
\ No newline at end of file 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