Excellent! Now, let's take a look at how we can use lists as function arguments. It is actually very intuitive!
counter = 0
for number in input_list:
if number > 0:
counter += 1
sample_list = [3, 5, -3, 7, 9, -2, 0]
# should return 4
The function above counts how many numbers in a list are greater than 0, and returns that count. Note that
input_list was declared just like any other argument type, and we used it inside the
for loop just like any other list outside a function. Not really complicated, right?