import turtle turtle.fd(100) turtle.left(120) turtle.fd(100) turtle.left(120) turtle.fd(50) turtle.left(120) turtle.fd(50) turtle.right(120) turtle.fd(50) turtle.right(120) turtle.fd(50) turtle.left(120) turtle.fd(50) turtle.hideturtle()
import turtle turtle.fd(100) turtle.left(120) turtle.fd(100) turtle.left(120) turtle.fd(50) turtle.left(120) turtle.fd(50) turtle.right(120) turtle.fd(50) turtle.right(120) turtle.fd(50) turtle.left(120) turtle.fd(50) turtle.hideturtle()
转载于:https://www.cnblogs.com/zsny/p/8665889.html