Python-Exercise 3-23 (counting chars) (busy developer version)

In this exercise you need to determine the most common (highest repeating) character in a sentence. While I understand the elaborate method that was used to determine that information I am curious why a more “elegant” solution wasn’t suggested at the end of the “solution” like Mosh usually does with other demonstrations.

I was able to retrieve the same output with three lines:

sentence = “This is a common interview question”
counting_char = Counter(sentence)
print(counting_char.most_common(1))

Thanks.