示例#1
0
def main():
    wn = turtle.Screen()
    crush = turtle.Turtle()
    crush.shape("turtle")
    crush.color("green")
    shapes.draw_shape(crush, 200, 200, 10, 65, "blue")
    wn.exitonclick()

    wn.mainloop()
def draw_shape(shape_name="box", character="x", line_breaks=True):
  shape = shapes.draw_shape(shape_name, character)
  if not line_breaks:
    print(shape[1:-1])
  else:
    print(shape)