Commit e340b485 by BellCodeEditor

save project

parent e6bf2a80
Showing with 3 additions and 1 deletions
......@@ -2,9 +2,10 @@ i=3
ue = "python"
ur= "123456"
while True:
if i=0:
if i!=0:
na= input("请输入用户名:")
pa = input("请输入密码:")
i-=1
if na == ue and pa == ur:
print("登录成功!")
break
......@@ -12,6 +13,7 @@ while True:
print("名字错了")
elif pa != ur:
print("密码错啦")
print("")
else:
print("滚")
exit()
......
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