Sobes.tech
Junior — Senior

Creating a list of squares of numbers using List Comprehension

livecode

Task condition

Modify the given code so that it creates a list containing the squares of all numbers in the specified range.

squares = [i*i for i in range(0, 10)]