#list comprehension: squaring numbers in a list a list. cardinals = [1,2,3,4,5] squares = [i**2 for i in cardinals] print(squares)