What is list comprehension in Python, and how can it be used to create a list containing all even numbers from 1 to 10?
You have asked this purely Python question on a Power Forum - I suggest your try google or a Python Forum or Python website.