Steve Holden wrote: > But for your existing simulation, where you seem to be using None to > record "No Value" (?) you can get away with > > something = min([x for x in a if x]) Nope: >>> a = [0.0, 1.0, None] >>> min([x for x in a if x]) 1.0 You want: min([x for x in a if x is not None]) Cheers, Neil