Sobes.tech
Junior — Senior

Implement a generator that outputs the squares of numbers in reverse order

livecode

Task condition

Create a generator function that takes an integer n and sequentially returns the squares of all integers from n down to 1 inclusive.