min max of a list

Kent Johnson kent37 at tds.net
Fri May 6 15:36:07 EDT 2005


querypk at gmail.com wrote:
> Hi Kent,
> Thanks for that. But We are considering [..., 0, 101, 0, 0, 0, 0, 0] ->
> [13,18] .In fact if you look at the list, the histogram ends at 15 that
> is [0,101,0] --> [13,15]. Dont you think so.
> 

Well you consider ..., 0,   4,   9,   2,   0,   0, ... as an interval [2, 7] in your example. How is 
that different from ..., 0, 101, 0, 0, 0, 0, 0 ?

Kent



More information about the Python-list mailing list