[Tkinter-discuss] Calculating a ripening tomato

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Oct 18 22:55:36 CEST 2011


Bob Greschke wrote:

> R = 65+(190-int((Pct**2.718)*190.0))
> G = int(Pct*255.0)
> 
> I wouldn't dismiss e too quickly. It pops up in some weird places.

Not as an exponent, though -- usually it's
e**something rather than something**e. That's what
makes me think it's *probably* a coincidence.

-- 
Greg


More information about the Tkinter-discuss mailing list