Commit da3d106f by BellCodeEditor

save project

parent a3ddc6f6
Showing with 6 additions and 6 deletions
...@@ -2,8 +2,9 @@ o="天下无敌" ...@@ -2,8 +2,9 @@ o="天下无敌"
p="123456" p="123456"
#w=input("你的名字是什么") #w=input("你的名字是什么")
#i=input('你的密码是什么?') #i=input('你的密码是什么?')
m=0 m=1
while True: def u ():
while True:
w=input("你的名字是什么") w=input("你的名字是什么")
i=input('你的密码是什么?') i=input('你的密码是什么?')
if o==w and p==i: if o==w and p==i:
...@@ -18,12 +19,11 @@ while True: ...@@ -18,12 +19,11 @@ while True:
if m>3: if m>3:
print('连续三次输入错误。拒绝登录') print('连续三次输入错误。拒绝登录')
break break
if o==w and p==i: if o==w and p==i:
print("欢迎来到编程器") print("欢迎来到编程器")
else: else:
print("去警察局") print("去警察局")
print(u)
......
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