Commit 2b3ac624 by BellCodeEditor

save project

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