1 2 3 4 5 6 7 8 9 10 11
from turtle import * a = Turtle() print('Введите начальную длинну и кол-во сторон') length,n = map(int,input().split()) count = 0 while count < n: a.forward(length) a.left(90) length += 10 count += 1 a.screen.mainloop()