Computer Science, asked by meeratiwari334644, 1 month ago

wap to find the sum of all positive even no in python​

Answers

Answered by piyushkumar2231
1

Answer:

Input: -7 5 60 -34 1

Output:

Sum of negative numbers is -41

Sum of even positive numbers is 60

Sum of odd positive numbers is 6

Input: 1 -1 50 -2 0 -3

Output:

Sum of negative numbers is -6

Sum of even positive numbers is 50

Sum of odd positive numbers is 1

Similar questions