六角星

import turtle
turtle.left(90)
count = 1
while count <= 3:
    turtle.forward(300)
    turtle.left(120)
    count += 1
turtle.penup()
turtle.forward(100)
turtle.pendown()
turtle.right(60)
turtle.forward(100)
count = 1
while count <=3:
    turtle.left(120)
    turtle.forward(300)
    count += 1

 

posted @ 2020-09-15 19:54  锂加熔融的锌盐  阅读(78)  评论(0)    收藏  举报