Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 404 Bytes

File metadata and controls

5 lines (5 loc) · 404 Bytes

Write a function called even_list that takes a list of integers as input and returns a list of all of the even integers in the input list. For example: if the input is [1,4,7,9,6,11], your function should return [4,6]. For example:

  • even_list([1,2,3,4,5,6,7] returns [2,4,6]
  • even_list ([9,13,26,28,32]) returns [26,28,32]
  • even_list([111, 140, 128, 23, 88]) returns [140, 128, 88]