Once we’ve created a frequency table that shows each category and its average number of ratings, how can we sort it? I cannot figure out how to turn it into a tuple without having to retype all the results.
freq_table_as_tuple = [(612.0, ‘Medical’), (7003, ‘Education’), (4004, ‘Catalogs’)]
sorted(freq_table_as_tuple)