Note: the % "mod" operator computes the remainder, e.g. 5 % 2 is 1. (a) Define a function count_odds(nums) that returns the number of odd ints in the given array. e.g. count_odds([2, 1, 2, 3, 4]) -> 2 count_odds([2, 2, 0]) -> 0 count_odds([1, 3, 5]) -> 3 (b) Define a function count_evens_oddIndex(nums) that returns the number of even ints on the odd positions (i.e. with an odd index) in the given array. e.g. count_evens_oddIndex([2, 1, 2, 3, 4]) -> 0 count_evens_oddIndex([2, 4, 6, 8]) -> 2 count_evens_oddIndex([2, 3, 5, 6, 8]) -> 1 i)Submit an electronic copy solution in a Python script file (*.py file) to moodle before class on Feb 24th. See the sample solution for the Count_Evens() function covered in class. ii)Submit a hardcopy solution in class on Feb 24th.