Posts by Henrique Bastos hbastos • 3 points
1 post
-
0
votes1
answer701
viewsQ: Calculate the number of even numbers in a tuple recursively
I need help creating a recursive function that finds and adds the even elements of a tuple, I would really appreciate the help. def conta_pares(t): '''conta_pares : tuplo -> inteiro recebe tuplo…