From: Daniel Martin Date: 2007-06-02T21:06:50+09:00 Subject: Re: [QUIZ] FizzBuzz (#126) Ruby Quiz writes: > Write a program that prints the numbers from 1 to 100. > But for multiples of three print "Fizz" instead of the > number and for the multiples of five print "Buzz". For > numbers which are multiples of both three and five > print "FizzBuzz". Anyone care for a friendly game of golf? I've got this in 67 characters... -- s=%q( Daniel Martin -- martin@snowplow.org puts "s=%q(#{s})",s.to_a.last ) puts "s=%q(#{s})",s.to_a.last