secret
Created

barf

  • Download Gist
barf.rb
Ruby
1 2 3 4 5 6 7 8 9
1.upto(100) do |i|
puts(if b = i * 8 / 5 & 7 and (i + 2) * 6 / 9 & 1 == 1
b == 0 ? "FizzBuzz" : "Fizz"
elsif b == 0
"Buzz"
else
i
end)
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.