Which is basically Re: Pascal triange... in essence.#!/usr/bin/perl -wl sub pascal { while (s/\d+(?= (\d+))/$&+$1/eg < shift) { s/^/1 /; print; } }
In reply to Re: Pascal's triangle...
by gumby
in thread Pascal's triangle...
by kiat
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |