import turtle m=int(input("请正六边形的输入边长")) n= turtle.forward(m) turtle.right(n) turtle.forward(m) turtle.right(n) turtle.forward(m) turtle.right(n) turtle.forward(m) turtle.right(n) turtle.forward(m) turtle.right(n) turtle.forward(m) turtle.right(n) turtle.done()