in reply to Diamonds for fun
Golf:68. How to get rid of those reverses?
perl -E"$n=pop;say' 'x($n-$_),1..$_,reverse 1..$_-1for 1..$n,reverse 1 +..$n-1" 9
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Diamonds for fun
by a (Friar) on Mar 06, 2011 at 00:15 UTC | |
Re^2: Diamonds for fun
by LanX (Saint) on May 04, 2011 at 16:22 UTC | |
by Tux (Canon) on May 04, 2011 at 17:23 UTC |