On Sunday, August 5, 2012 7:46:54 PM UTC-4, PeterSo wrote:
> I am just starting to learn Python, and I like to use the editor
>
> instead of the interactive shell. So I wrote the following little
>
> program in IDLE
>
>
>
> # calculating the mean
>
>
>
> data1=[49, 66, 24, 98, 37, 64, 98, 2
On Aug 5, 7:09 pm, Rotwang wrote:
> On 06/08/2012 00:46, PeterSo wrote:
>
>
>
>
>
>
>
>
>
> > I am just starting to learn Python, and I like to use the editor
> > instead of the interactive shell. So I wrote the following little
> > program in IDLE
>
> > # calculating the mean
>
> > data1=[49, 66,
On 8/5/2012 7:46 PM, PeterSo wrote:
I am just starting to learn Python, and I like to use the editor
instead of the interactive shell. So I wrote the following little
program in IDLE
# calculating the mean
data1=[49, 66, 24, 98, 37, 64, 98, 27, 56, 93, 68, 78, 22, 25, 11]
def mean(data):
On 06/08/2012 02:01, Matthew Barnett wrote:
On 06/08/2012 01:58, MRAB wrote:
On 06/08/2012 01:09, Rotwang wrote:
On 06/08/2012 00:46, PeterSo wrote:
I am just starting to learn Python, and I like to use the editor
instead of the interactive shell. So I wrote the following little
program in IDL
On 06/08/2012 01:58, MRAB wrote:
On 06/08/2012 01:09, Rotwang wrote:
On 06/08/2012 00:46, PeterSo wrote:
I am just starting to learn Python, and I like to use the editor
instead of the interactive shell. So I wrote the following little
program in IDLE
# calculating the mean
data1=[49, 66, 24,
On 06/08/2012 01:09, Rotwang wrote:
On 06/08/2012 00:46, PeterSo wrote:
I am just starting to learn Python, and I like to use the editor
instead of the interactive shell. So I wrote the following little
program in IDLE
# calculating the mean
data1=[49, 66, 24, 98, 37, 64, 98, 27, 56, 93, 68, 7
On 06/08/2012 00:46, PeterSo wrote:
I am just starting to learn Python, and I like to use the editor
instead of the interactive shell. So I wrote the following little
program in IDLE
[snip]
I can't comment on IDLE as I've never used it, but you're doing yourself
a big disservice if you don't
On 06/08/2012 00:46, PeterSo wrote:
I am just starting to learn Python, and I like to use the editor
instead of the interactive shell. So I wrote the following little
program in IDLE
# calculating the mean
data1=[49, 66, 24, 98, 37, 64, 98, 27, 56, 93, 68, 78, 22, 25, 11]
def mean(data):
I am just starting to learn Python, and I like to use the editor
instead of the interactive shell. So I wrote the following little
program in IDLE
# calculating the mean
data1=[49, 66, 24, 98, 37, 64, 98, 27, 56, 93, 68, 78, 22, 25, 11]
def mean(data):
return sum(data)/len(data)
mean(da