Specific type of error and explanation

TypeErrorTraceback (most recent call last)
in ()
2 from csv import reader
3 read_file = reader(opened_file)
----> 4 apps_data = list(read_file)
5 genre_counting = {}
6

TypeError: ‘list’ object is not callable

My code is correct because i have checked the answer but i am not sure how to solve this problem

@nikhilmeshram660 can you provide me the exact location of the task in the course? I will check it.

1 Like

@nikhilmeshram660 There is no file path. opened_file object is declared.
Hope this code will work.
from csv import reader
opened_file=open('AppleStore.csv')
read_file=reader(opened_file)
apps_data=list(read_file)
genre_counting={}