
In Python3, map returns an iterator instead of list in Python2, which cause map "lazier" than before, wrap with list() force it running.
In Python3, map returns an iterator instead of list in Python2, which cause map "lazier" than before, wrap with list() force it running.