Python Developer — Medium
Key points
- islice is used to slice elements from an iterable
- The generator g generates squares of numbers
- The range function generates numbers from 0 to 99
- The list function converts the sliced elements into a list
Ready to go further?
Related questions
