[BangPypers] What is the output of this python program?

Gora Mohanty gora at mimirtech.com
Fri Apr 5 16:16:54 CEST 2013


On 5 April 2013 19:22, Anand B Pillai <abpillai at gmail.com> wrote:
> This tells one not to really on PRNGs to generate a truly random
> state.

Absolutely! PRNGs have their place, e.g., when one does
want a repeatable sequence if given the same seed. For
example, one would want that for Monte Carlo simulations
where the computation needs to be repeatable.

> It is not very difficult to write some code to find the seed for
> printing a given word if you got some time to waste :)
>
> Here is one way.
>
> http://pastebin.ca/2350376
[...]

Heh! Sounded like a fun exercise to do that, but was too busy
to try.

Regards,
Gora


More information about the BangPypers mailing list