►
Run
myList = ['mango', 'watermelon', 'apples'] result = min(myList, key=len) print(f'String with least length is - {result}.')
Output