What if there are actually numerous candidates to the shortest or longest word? The min() and max() features already return the 1st factor, so there’s definitely very little to regulate.
On this quiz, you can test https://bookmarkyourpage.com/story3558141/little-known-facts-about-python-beginner-problems