Commit 4f590d95 by BellCodeEditor

save project

parent 5f40ef14
Showing with 7 additions and 0 deletions
name="python"
password="123456"
i=3
while True:
if i>0:
name1=input("请输入用户名")
password1=input("请输入密码")
i=i-1
if name==name1 and password==password1:
print("登录成功")
break
......@@ -10,4 +13,7 @@ while True:
print("输入用户名错误")
else:
print("密码输入错误")
else:
print("拜拜了您嘞!!!!!")
exit()
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