Re: 15 Exercises to Know A Programming Language

2007-07-04 Thread Martin
On Jul 3, 1:47 pm, John Machin <[EMAIL PROTECTED]> wrote: > On Jul 3, 7:58 pm, Martin <[EMAIL PROTECTED]> wrote: > > > > > I am trying to improve my Python skills through some exercises. > > Currently I am working on Larry's "15 exercises to know a programming > > language " (http://www.knowing.net

Re: 15 Exercises to Know A Programming Language

2007-07-03 Thread John Machin
On Jul 3, 7:58 pm, Martin <[EMAIL PROTECTED]> wrote: > I am trying to improve my Python skills through some exercises. > Currently I am working on Larry's "15 exercises to know a programming > language " (http://www.knowing.net/ > PermaLink,guid,f3b9ba36-848e-43f8-9caa-232ec216192d.aspx). The first

Re: 15 Exercises to Know A Programming Language

2007-07-03 Thread Daniel Nogradi
> > > "Write a program that takes as its first argument one of the words > > > 'sum,' 'product,' 'mean,' or 'sqrt' and for further arguments a > > > series of numbers. The program applies the appropriate function to > > > the series." > > > > > My solution so far is this: > > > > >http://dpaste.co

Re: 15 Exercises to Know A Programming Language

2007-07-03 Thread Martin
On Jul 3, 12:25 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Tue, 03 Jul 2007 09:58:16 +, Martin wrote: > > "Write a program that takes as its first argument one of the words > > 'sum,' 'product,' 'mean,' or 'sqrt' and for further arguments a > > series of numbers. The program

Re: 15 Exercises to Know A Programming Language

2007-07-03 Thread Marc 'BlackJack' Rintsch
On Tue, 03 Jul 2007 09:58:16 +, Martin wrote: > "Write a program that takes as its first argument one of the words > 'sum,' 'product,' 'mean,' or 'sqrt' and for further arguments a > series of numbers. The program applies the appropriate function to > the series." > > My solution so far is t