G
Guido van Brakel
Hello
I have this now:
It now gives a int, but i would like to see floats. How can integrate
that into the function?
Regards,
I have this now:
def gem(a):
g = sum(a) / len(a)
return g
print gem([1,2,3,4])
print gem([1,10,100,1000])
print gem([1,-2,3,-4,5])
It now gives a int, but i would like to see floats. How can integrate
that into the function?
Regards,