xxxxxxxxxx
"""Suppose we have a list containing numbers and we want to separate
those that are even and put them in another list"""
number_list=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
even_numbers=[ even for even in number_list if even %2==0]
print(even_numbers)