Q24Single correct2 Marks3 Sep 2023
Consider the following snippet of code.
```
def func(L):
if L == []:
return 0
if L[0] % 2 == 0:
return 1 + func(L[1:])
else:
return func(L[1:])
```
If L is a non-empty list of positive integers, which of the following statements is correct about the recursive function func(L)?