From: Wyatt Greene Date: 2008-01-31T06:35:02+09:00 Subject: Re: Ruby Puzzle Challenge I was thinking of p *1..100 I'm am truly amazed that this could be squeezed down even further to p *1..?d That leads me to wonder...is it possible to squeeze this program down into 7 characters? On Jan 30, 4:27 pm, Sebastian Hungerecker wrote: > Wyatt Greene wrote: > > Write a Ruby program that prints out the numbers 1 to 100, one number > > per line. The program must be less than 10 characters long. > > Does this have some kind of spoiler-period like the ruby quiz? Well, since it > didn't say so in the OP and anyone who wants to solve it on his own can just > not read the replies until he's done, here it goes: > > p *1..100 > or one char shorter: > p *1..?d > > -- > NP: Explosions in the Sky- With Tired Eyes, Tired Minds, Tired Souls, We Slept > Jabber: sep...@jabber.org > ICQ: 205544826