4There is also a concise syntax called list comprehension that allows you to derive a new list from a given sequence. In the
example above, we could describe what happens in English as “make newList contain twice each number in numList”. This is quite
directly translated into an assignment with a list comprehension:
newList = [2*num for num in numList]
This is a lot like mathematical set definition notation, except without Greek symbols. List comprehensions also have fancier options, but
they are not covered in this tutorial.