Paulo J. Matos wrote: > Hi all, > > What's the best way to know the amount of memory allocated by a > function What do you count? def zeros(n): return [0]*n how much memory is that?