From: Marc Chanliau Date: 2011-08-02T05:49:11+09:00 Subject: Re: newbie question Phillip Gawlowski wrote in post #1014267: > On Mon, Aug 1, 2011 at 10:08 PM, Marc Chanliau > wrote: >> my_fact = gets.to_i >> puts "factorial: #{fact(my_fact)}" > > Let's fix your code: Thanks, very useful suggestions! -- Posted via http://www.ruby-forum.com/.