I came across certain built-in functions such as zip
and map
.
I tried printing these functions, they resulted as zip object at 0x1007a06c8
or <map object at 0x003AB2E0>
.
I understand that these functions return iterators, but I can also use a for loop to run through strings/lists/dicts as iterators. Thus, how are zip and map different, and how I am able to show them? What are some other examples that I should be aware of?