Untitled
unknown
python
a year ago
296 B
3
Indexable
import turtle
turtle.speed(0)
# Создание квадрата
def draw_square(size: int):
for _ in range(4):
turtle.forward(size)
turtle.left(90)
for i in range(100, 4, -5):
draw_square(i)
turtle.done() #Чтобы окно не закрывалось
Editor is loading...
Leave a Comment