need help understanding a python program

Lee Bradley teamprimalforce at gmail.com
Sat Nov 21 16:27:52 EST 2015


On Monday, November 2, 2015 at 1:45:58 PM UTC-5, Ben Finney wrote:
> Lee Bradley <bradley_lee_r at sbcglobal.net> writes:
> 
> > http://pastebin.com/ndDYjYe1
> 
> We much prefer to discuss code in the context of plain text messages
> right here, because this forum is archived longer than the expected
> lifetime of content hosted on other services.
> 
> > For now I am looking for someone who can dig into this code and
> > explain what's going on. I understand a lot of it but not enough to
> > really *get it*.
> 
> Could you discuss your own impressions of it so far, with (parts of) the
> code pasted here as plain text for context of your commentary?
> 
> -- 
>  \       Moriarty: "Forty thousand million billion dollars? That money |
>   `\            must be worth a fortune!" --The Goon Show, _The Sale of |
> _o__)                                                       Manhattan_ |
> Ben Finney

Ben,

Sorry it took so long to get back on this. I did start to put together a response to you. I made all sorts of notes about what I understood and what I didn't understand. But in the end I tried to write a solution myself using his ideas and what I had learned from many things I learned on the subject.

I believe I have a working program which I have written in C.

http://primepuzzle.com/tc/entropy.c

Incredibly interesting exercise. I am awaiting any feedback Vitaly might have on what I have built.

Lee



More information about the Python-list mailing list