Calculate the sum of positive numbers in a list
Given a list of numbers, return the summation of all positive numbers in the list.
Sample Code:
def sumPos(li):
# Enter your logic here...
Examples:
Input: [1,2,3,-999]
Output: 6
Explanation: The positive numbers are 1,2,3.
Input: [1,-2,-3,-999]
Output: 1
Explanation: The only positive number is 1.