Commit 4f590d95 by BellCodeEditor

save project

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