[sage-support] Re: Differencies between Sage's console and scripts ?

2009-09-28 Thread Mike Hansen
Hello, On Mon, Sep 28, 2009 at 2:32 PM, Nathann Cohen wrote: > Hello !!! > > I used Sage to compute a few things today, which included at some step the > mean of a list of values : > > def mean(l): >     return sum(l)/len(l) > > At some point I was amazed by the fact I only had integer values, w

[sage-support] Re: Differencies between Sage's console and scripts ?

2009-09-28 Thread William Stein
On Mon, Sep 28, 2009 at 12:32 AM, Nathann Cohen wrote: > Hello !!! > > I used Sage to compute a few things today, which included at some step the > mean of a list of values : > > def mean(l): >     return sum(l)/len(l) > > At some point I was amazed by the fact I only had integer values, which wa