Python Program to Find Sum of Even and Odd Numbers in Tuple

Write a Python Program to find the Sum of Even and Odd Numbers in a Tuple using the for loop range. The if condition (if(evenOddTuple[i] % 2 == 0)) checks whether the Tuple item divisible by two equals zero. If True, add that tuple Item to even sum; otherwise, add to the odd sum. # … Read more