# count number of positive numbers in the list (consider 0 as positive)
def number_of_odds(num_list):
i = 0
counter = 0
while i < len(num_list):
# check to see if the remainder of dividing by 2 is 1
if num_list[i] % 2 == 1:
counter += 1
i += 1
return counter
nump = number_of_odds([5, 8, -3, 0, -10])
print(nump)
nump = number_of_odds([5, 8, -3, 0, -10, 7, 8])
print(nump)