Sobes.tech
Intern — Middle

Create a generator that outputs squares of numbers in reverse order

livecode

Task condition

A generator function that takes an integer and returns a sequence of squares of all numbers from the specified value down to one, inclusive.