from turtle import * pensize(5) pencolor('blue') fd(80) right(90) fd(80) right(90) fd(90) right(90) fd(80) fd(80) right(90) fd(90) right(90) fd(80) right(90) hideturtle() done() def drawLine(draw): pendown() if draw else penup() fd(80) right(90)
觉得单调可以敲几个小代码,