Commit cc5e7e96 by BellCodeEditor

save project

parent 280f2872
Showing with 8 additions and 4 deletions
...@@ -3,9 +3,12 @@ a="3305222" ...@@ -3,9 +3,12 @@ a="3305222"
while True: while True:
d=input("输入账号") d=input("输入账号")
b=input("输入密码") b=input("输入密码")
if a==b and d==c: if c==d:
print("登陆成功") if a==b:
break print("登陆成功")
break
else:
print("密码错误")
else: else:
print("登陆失败") print("账号错误")
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