opened_file = open('AppleStore.csv') from csv import reader read_file = reader(opened_file) apps_data = list(read_file) non_games_ratings =  for row in apps_data[1:]: rating = float(row) genre = row if genre != 'Games': non_games_ratings.append(rating) avg_rating_non_games = sum(non_games_ratings) / len(non_games_ratings) print(avg_rating_non_games)
What I expected to happen:
I expected the code to give a correct output, as I have also rechecked my code with the solution code and I find no mistake in my code.
What actually happened:
I am getting the same error in every mission.
TypeErrorTraceback (most recent call last) <ipython-input-1-1b32f1b46d32> in <module>() 2 from csv import reader 3 read_file = reader(opened_file) ----> 4 apps_data = list(read_file) 5 non_games_ratings =  6 for row in apps_data[1:]: TypeError: 'list' object is not callable