标签:spl tle event range bsp close home 技术 show
1 import turtle as t 2 t.pensize(5) 3 t.color(‘black‘, ‘pink‘) 4 t.speed(10) 5 t.speed( 6 ) 7 for x1 in range(4, 85): 8 t.pd() 9 t.goto(x1, -(x1 ** 2) / 40) 10 t.pu() 11 t.home() 12 t.pd() 13 for x2 in range(4, 85): 14 t.goto(-x2, -(x2**2)/40) 15 t.pu() 16 t.goto(30, -40) 17 t.pd() 18 t.circle(-30, 360) 19 t.pu() 20 t.goto(35, -70) 21 t.pd() 22 t.dot(9) 23 t.pu() 24 t.goto(-30, -40) 25 t.pd() 26 t.circle(-30, 360) 27 t.pu() 28 t.goto(-35, -70) 29 t.pd() 30 t.dot(10) 31 t.pu() 32 t.goto(-35, -150) 33 t.pd() 34 t.left(40) 35 for i in range(35): 36 t.left(-1) 37 t.fd(1) 38 for i in range(40): 39 t.left(-1) 40 t.fd(1)
标签:spl tle event range bsp close home 技术 show
原文地址:https://www.cnblogs.com/Calculus9/p/12540232.html