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

Instruction

Excellent! One more question...

Exercise

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.