# Code
ML = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
new = [i for i in ML if i%2 == 0] # i%2 == 0 checks for even numbers
print(new) # [4, 16, 36, 64, 100]
# Code
ML = [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
new = [i for i in ML if i%2 == 0] # i%2 == 0 checks for even numbers
print(new) # [4, 16, 36, 64, 100]