Returning the result

Fill in the blanks · Basic · §8.2 Giving back

This function returns how many values in nums are greater than limit. Fill in the blank.

Code with blanks

def count_over(nums, limit):
    count = 0
    for n in nums:
        if n > limit:
            count += 1
    ____ count

print(count_over([5, 12, 8, 20], 10))

Solve this problem in your browser

Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.