<html><DIV>
<P>#&nbsp;How to shorten&nbsp;the following experimental codes?</P>
<P>bottle = ' bottles'<BR>99.downto(1) { |i|<BR>&nbsp;&nbsp;&nbsp; print "\n", i, bottle, ' of beer on the wall, ', i, bottle, ' of beer', ".\n"<BR>&nbsp;&nbsp;&nbsp; print 'Take one down, pass it around,', "\n"<BR>&nbsp;&nbsp;&nbsp; bottle = ' bottle' if i == 2<BR>&nbsp;&nbsp;&nbsp; print i-1, bottle, ' of beer on the wall.', "\n" if i &gt; 1<BR>} <BR>print 'No bottles of beer on the wall.', "\n\n"</P>
<P># Thanks</P>
<P># Dat</P></DIV><br clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.<br></p></html>