Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Counting with dictionaries
Grouping with dictionaries
Linking with dictionaries
18. Question 2


Excellent! One more question...


Create a function named get_most_frequent_element(string_list) that accepts a list of strings and returns a tuple with two elements, the string which appears most frequently in the list, and the number of appearances of that string. Note that 'String' and 'string' are different strings, so there's no need to use a .lower() method.

You can use the quotation dictionary to test your function.