What if there are a number of candidates to the shortest or longest phrase? The min() and max() capabilities already return the very first aspect, so there’s actually very little to regulate.
In this particular quiz, https://mazkingin.com/practice-challenge-questions-for-python-beginners/