I suppose you have to use the list() function on the result these three functions return because that's just an iterable instead of a list, right?
Correct. Map, filter, and zip objects are iterables, but we convert to a list for the sake of printing. :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I suppose you have to use the list() function on the result these three functions return because that's just an iterable instead of a list, right?
Correct. Map, filter, and zip objects are iterables, but we convert to a list for the sake of printing. :)