develooper Front page | perl.golf | Postings from July 2002

Re: more minigolf

Thread Previous | Thread Next
From:
Jasper McCrea
Date:
July 10, 2002 07:09
Subject:
Re: more minigolf
Message ID:
3D2C3FFE.9F6F0D89@guideguide.com
Michael W Thelen wrote:
> 
> On Wed, Jul 10, 2002 at 12:47:40PM +0100, Jasper McCrea wrote:
> > given a line number on the command line, print out that line from
> > Pascal's triangle. Single space separated numbers, nothing but a \n at
> > the end, you know the drill.
> 
> Do the line numbers begin at 0 or 1?  Is it like this?
> 
> line 0:       1
> line 1:      1 1
> line 2:     1 2 1
> 

I think line numbering will begin at 1. 0 would be too odd. And it would
add a few characters to my solution :)

cheerio,
Jasper

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About