Saturday, 17 August 2013

Python to make a while sum up the integers of a list

Python to make a while sum up the integers of a list

I need help to make a function sumOfPositiveNumbers(li). A function that
returns the sum of all positive integers in a list and the function should
use a while loop.

No comments:

Post a Comment