Files
lab_turtle/drawing.py

30 lines
395 B
Python

from turtle import (
forward,
back,
left,
right,
penup,
pendown,
color,
)
color("red")
forward(250)
right(360 * 4 / 9)
forward(250)
right(360 * 4 / 9)
forward(250)
right(360 * 4 / 9)
forward(250)
right(360 * 4 / 9)
forward(250)
right(360 * 4 / 9)
forward(250)
right(360 * 4 / 9)
forward(250)
right(360 * 4 / 9 )
forward(250)
right(360 * 4 / 9 )
forward(250)
input()