Object of type ‘map’ has no len() in Python 3
In Python 3, map returns a map object not a list: You can convert it into a list then get the length from there:
In Python 3, map returns a map object not a list: You can convert it into a list then get the length from there: