On May 24, 2007, at 8:11 PM, khaines / enigo.com wrote:

> On Fri, 25 May 2007, Hakusa / gmail.com wrote:
>
>> But just to get the ball rolling:
>> Print 1...100 on the screen in 4 or less lines of code.
>
> puts "1...100"
>
> hahaha
>
> Actually:
>
> puts (1..100).to_a

Careful with .to_a, they're getting rid of it. Break the habit while  
you can!

To make this a little longer than one line, and to avoid repetition  
of ideas....
100.downto(1) do |yourmom|
	puts yourmom
end

Nothing quite like a little bit of immaturity.
heh. do yourmom.

I like these. They're easier than RubyQuiz, so I can do them, and  
they don't take a lot of time. Which I am lacking of right now.

immaturity ftw
-------------------------------------------------------|
~ Ari
crap my sig won't fit