import numpy as npfor i in np.arange(1, 5, 0.5): print i
Standard input is empty
1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!