Problem : Generator

Ben Finney ben+python at benfinney.id.au
Thu Feb 14 17:09:06 EST 2019


Prahallad Achar <acharbly at gmail.com> writes:

> How to implement reverse generator

Welcome to the Python forum!

That sounds like an interesting problem. Can you describe it more
precisely? What should a “reverse generator” actually do (and not do)?

Ideally, give an example:

* Some code you would maybe expect to create a "reverse generator", that
  you have already tried but doesn't work.

* Exactly what you *expect* the resulting object to do; what is its
  expected behaviour? What is its expected output?

-- 
 \      “Software patents provide one more means of controlling access |
  `\      to information. They are the tool of choice for the internet |
_o__)                                     highwayman.” —Anthony Taylor |
Ben Finney




More information about the Python-list mailing list