On 15/02/14 13:35, Bunny Sehgal wrote:
I am doing "Building Skills in Python". In the Generator Function
example at
I assume you are talking about this one:
spins = [('red', '18'), ('black', '13'), ('red', '7'),
('red', '5'), ('black', '13'), ('red', '25'),
('red', '9'), ('black', '26'
I am doing "Building Skills in Python". In the Generator Function example
at [url]
http://www.itmaybeahack.com/homepage/books/python/html/p02/p02c08_generators.html#generator-function-example[/url]i
can't understand, how it is working properly.
what i understood is as follows:>
1)First it makes cou