On 2008-03-15, Guido van Brakel <[EMAIL PROTECTED]> wrote: > Hello > > I have this now: > >> def gem(a): >> g = sum(a) / len(a)
g = float(sum(a)) / len(a) >> return g > It now gives a int, but i would like to see floats. How can integrate > that into the function? See above. > Life is like a box of chocolates, you never know what you're gonna get sometimes it's a crunchy frog... -- Grant -- http://mail.python.org/mailman/listinfo/python-list