Finding the minimum length of multiple lists

I have three lists of different lengths.

For example

List1 is of length 40
List2 is of length 42
List3 is of length 47

How can I use the Python inbuilt min() or any other method to find the list with the minimum length?

I tried:


but I get TypeError: 'int' object is not iterable

Source: python

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.