[Tutor] I am having difficulty grasping 'generators'

Degreat Yartey yarteydegreat2 at gmail.com
Wed May 28 12:52:49 CEST 2014


I am completely new to programming!
On May 27, 2014 10:54 PM, "R. Alan Monroe" <amonroe at columbus.rr.com> wrote:

> > I need an explanation so simple as using the expression 'print ()', in
> this case 'yield'.
> > Python 2.6 here!
>
> Ever write any C programs with static variables? Generators can be
> explained in those terms if you have experience with them.
>
> Alan
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140528/0834c1d2/attachment.html>


More information about the Tutor mailing list