Comprehensions come in many flavors. Using [ ] we get lists. Using { } we can make dictionaries or sets. You might think that ( ) will make a tuple. Instead, you'll get a generator. A generator is an object that we can iterate through. But unlike a l...
tongere.hashnode.dev5 min read
No responses yet.