Remove odd numbers from a list.
L=[1,2,3,4,5] OUTPUT: L=[2,4]
Answers
Answered by
0
Answer:
ODD NUMBER ARE 3,5 (1 IS NEITHER AN ODD NOR AN EVEN)
SO LIST CONSIST {1, 2,4}
Explanation:
HOPE IT WAS HELPFUL
Similar questions