Error in Winning Jeopardy

Screen Link:

My Code:

def count_usage(term):
    low_count = 0
    high_count = 0
    for i, row in jeopardy.iterrows():
        if term in row["clean_question"].split(" "):
            if row["high_value"] == 1:
                high_count += 1
                low_count += 1
    return high_count, low_count

comparison_terms = list(terms_used)[:5]
observed_expected = []
for term in comparison_terms:

What I expected to happen:
Create a list

What actually happened:

TypeErrorTraceback (most recent call last)
<ipython-input-94-e7941042519b> in <module>()
     10     return high_count, low_count
---> 12 comparison_terms = list(terms_used)[:5]
     13 observed_expected = []
     14 for term in comparison_terms:

TypeError: 'tuple' object is not callable

I’ve spent LOT of time trying to figure out what’s causing the error. After my efforts were unsuccessful, I went back through my ENTIRE project, copying and pasting in code from the solution page, but I’m still getting the same error.

What happens when you google this error?
Any ideas?
The general solution is

  1. Find the tuple
  2. Find the call

Calls may be hidden behind syntactic sugar like [] so is harder.
Start printing variables you most suspect to be wrong.
It could be you assigned a tuple to the built in list() function so doing list() gives that error. Restart the notebook/environment so all variables are reloaded from where they should come from and start printing outputs line by line. Simplify the function and throw away useless parts, like if-else branches. Do it like brain surgery, where they cut nerves and study what body functions are lost. In this case delete code until the error is gone. Then you know the last thing you deleted is causing that error.