On Sat, 21 Jul 2001, David Alan Black wrote: > On Sat, 21 Jul 2001, Avi Bryant wrote: > > > On Sat, 21 Jul 2001, Avi Bryant wrote: > > > > > On Sat, 21 Jul 2001, Will Sobel wrote: > > > > > > This has what I'm told is the correct formatting, at 157: > > > > > > def b > > > "#{N>0?N: 'No '} bottle#{'s'if N!=1} of beer"end > > > W=" on the wall" > > > (N=99).times{puts b+W+', '+b+'.',"Take one down, pass it around,",(N-=1;b+W+".\n\n")} > > > > And I'll shave two more bytes off: > > > > def b > > "#{N>0?N: :No} bottle#{'s'if N!=1} of beer"end > > W=" on the wall" > > (N=99).times{puts b+W+','+b+'.',"Take one down, pass it around,",(N-=1;b+W+".\n\n")} > > If the space after ^ can go, then so can ^. But should either? Thanks, my mistake. Same number of bytes, I think: def b "#{N>0?N: :No} bottle#{'s'if N!=1} of beer"end W=" on the wall" (N=99).times{puts"#{b+W}, #{b}.","Take one down, pass it around,",(N-=1;b+W".\n\n")}