RosettaCodeData/Task/Binary-digits/Ruby/binary-digits-2.rb
2023-07-01 13:44:08 -04:00

3 lines
42 B
Ruby

for n in [5,50,9000]
puts n.to_s(2)
end