(Solution code removed, as posting it publicly is against the honour code of this community, regardless if it is correct or not. You can share the errors you get)
The function get_popularity_scores is defined so that it takes the candy_data list and extracts the Popularity Score, so you don’t need to iterate over each row of the data. Per the instructions, you should "#Use ‘get_popularity_scores’ and pass in the lst candy_data". So you should use the function get_popularity_scores directly in the format function_name(list_name), on the same line as “#Add your code here”. Please let me know if this helps.