Commit 47a3ac42 by BellCodeEditor

save project

parent ad83e5c0
Showing with 5 additions and 4 deletions
...@@ -2,11 +2,12 @@ o="天下无敌" ...@@ -2,11 +2,12 @@ o="天下无敌"
p="123456" p="123456"
w=input("你的名字是什么") w=input("你的名字是什么")
i=input('你的密码是什么?') i=input('你的密码是什么?')
if o==w and p==i: while True:
print("成功登录") if o==w and p==i:
else: print("成功登录")
break
print("用户名或密码输入错误,请重新输入") print("用户名或密码输入错误,请重新输入")
print('欢迎来到贝尔编程')
......
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