variable-length

Object of type 'map' has no len() in Python 3

Object of type 'map' has no len() in Python 3 Question: I have a problem with Python 3. I got Python 2.7 code and at the moment I am trying to update it. I get the error: TypeError: object of type ‘map’ has no len() at this part: str(len(seed_candidates)) Before I initialized it like this: …

Total answers: 2