for i in (10..31).step(2) do puts i * 0.1end
Standard input is empty
1.0 1.2000000000000002 1.4000000000000001 1.6 1.8 2.0 2.2 2.4000000000000004 2.6 2.8000000000000003 3.0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!