We declare our lst variable with a list of different integers.
We then use list comprehensions to create a list of all of the elements in our lst variable squared. We print the new list to the console.
9.4m questions
12.2m answers