From: pete@... (Pete Kernan) Date: 2001-07-20T07:33:36+09:00 Subject: [ruby-talk:18151] Re: An exercise in minimalism On Fri, 20 Jul 2001 00:34:17 +0900, Tammo Freese pontificated: || 60 byte :-) || || (n=$*[0].to_i).times{|i|s=(n/2-i).abs;puts" "*s+"#"*(n-2*s)} || I almost squeezed out as much from this direction. (n=$*[0].to_i).times{|i|puts"#{'#'*(n-2*(n/2-i).abs)}".center n} this is longer but has nicer symmetry n=$*[0].to_i;(i=n%2).upto(n){|j|puts"#{'#'*i}".center n;i+=(2*j>=n)?-2:2} Pete