Answer the following questions in both Python and R language.
(d) (16 marks) Define a function named count_even(). The function accepts one
parameter named 'my_list', which should contain a list of integers. The function
should count and return the number of even number in the list 'my_list'. For example,
if 'my_list' contains the elements 1, 2, 3, 4, 5, 6, 7, the function should return 3 as
there are 3 even numbers in the list.
(e) (6 marks) Write a statement to call the function count_even() written in part(d) with
the variable 'student_no' as the argument. Store the output of the function to a
variable named 'output'. Write down the expected value of the variable 'output'.