I’m struggling with exercise 4 and get_top_candies. For the mean I used stats. and the hint tells me I should be using a dot. But isn’t get_top_candies already defining the >= function for average popularity? So how would I even use stats.?
To add to what @TMosh said, you are on the right track, but both functions get_top_candies and display_pretty_table are imported from ex4_helper_functions. Since you have imported ex4_helper_functions using the “import file_name” format, you then need to use it as file_name.function_name. I hope this helps.
Also, per the forum guidelines, please only share the error you are getting rather than your code. I have deleted the screenshot.