Click here to Skip to main content
15,917,610 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello ,
i'm starting to learn the bascis of python , yet i come across the terms Iterable and Generator ,i'm having some difficulties to understend and i want to know a simple definition or exemples about those 2 terms , i mean what is the purpose of using them and when to use them .
Thank you .

What I have tried:

i tried some codes for iterators , its seems easy but generators i'm confused ..
Posted
Updated 12-Jul-17 21:58pm

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900