Commit 2b3ac624 by BellCodeEditor

save project

parent acf4677d
Showing with 10 additions and 20 deletions
username = 'python' import turtle
usepassword = '123456'
i=3 pen == turtle.Pen()
while True: distance = 1
if i>0: for i in range(300):
name = input('请输入用户名') pen.forward*(distance)
password = input('请输入密码') distance+=1
i-=1 pen.right(91)
if name == username and password == usepassword: pen.hideturtle()
print('登入成功') turtle.done()
break
elif name != username:
print('用户不存在')
print(str(i)+'次')
else:
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