Commit e6bf2a80 by BellCodeEditor

save project

parent d602bea7
Showing with 15 additions and 9 deletions
i=3
ue = "python" ue = "python"
ur= "123456" ur= "123456"
while True: while True:
na= input("请输入用户名:") if i=0:
pa = input("请输入密码:") na= input("请输入用户名:")
if na == ue and pa == ur: pa = input("请输入密码:")
print("登录成功!") if na == ue and pa == ur:
break print("登录成功!")
elif na != ue: break
print("名字错了") elif na != ue:
elif pa != ur: print("名字错了")
print("密码错啦") elif pa != ur:
print("密码错啦")
else:
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