Untitled
Anonymous
python
11/24/2024 9:55 AM
396 B
21
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