25题代码:import turtle turtle.setup(700,500,200,200) turtle.fd(150) turtle.seth(120) turtle.fd(150) turtle.seth(-120) turtle.fd(300) turtle.seth(0) turtle.fd(300) turtle.seth(120) turtle.fd(150) turtle.seth(-120) turtle.fd(150) turtle.seth(120) turtle.fd(150) turtle.seth(0) 28题代码: import turtle turtle.setup(1000,600,300,300) turtle.seth(90) turtle.fd(180) turtle.seth(0) turtle.fd(180) turtle.seth(-90) turtle.fd(180) turtle.seth(180) turtle.fd(170) turtle.seth(90) turtle.fd(170) turtle.seth(0) turtle.fd(160) turtle.seth(-90) turtle.fd(160) turtle.seth(180) turtle.fd(150) turtle.seth(90) turtle.fd(150) turtle.seth(0) turtle.fd(140) turtle.seth(-90) turtle.fd(140) turtle.seth(180) turtle.fd(130) turtle.seth(90) turtle.fd(130) turtle.seth(0) turtle.fd(120) turtle.seth(-90) turtle.fd(120) turtle.seth(180) turtle.fd(110) turtle.seth(90) turtle.fd(110) turtle.seth(0) turtle.fd(100) turtle.seth(-90) turtle.fd(100) turtle.seth(180) turtle.fd(90) turtle.seth(90) turtle.fd(90) turtle.seth(0) turtle.fd(80) turtle.seth(-90) turtle.fd(80) turtle.seth(180) turtle.fd(70) turtle.seth(90) turtle.fd(70) turtle.seth(0) turtle.fd(60) turtle.seth(-90) turtle.fd(60) turtle.seth(180) turtle.fd(50) turtle.seth(90) turtle.fd(50) turtle.seth(0) turtle.fd(40) turtle.seth(-90) turtle.fd(40) turtle.seth(180) turtle.fd(30) turtle.seth(90) turtle.fd(30) turtle.seth(0) turtle.fd(20) turtle.seth(-90) turtle.fd(20) turtle.seth(180) turtle.fd(10) turtle.seth(90) turtle.fd(10) turtle.seth(0) 29题代码: import turtle turtle.setup(700,600,200,200) turtle.pensize(30) turtle.pencolor("green") turtle.penup() turtle.fd(-250) turtle.seth(-40) turtle.pendown() for i in range(4): turtle.circle(40,80) turtle.circle(-40,80) turtle.circle(40,40) turtle.fd(40) turtle.circle(40,180) turtle.fd(80)