import numpy x = numpy.linspace(0, 3, num=49*3+1)print x[::49].tolist()
Standard input is empty
[0.0, 0.9999999999999999, 1.9999999999999998, 3.0]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!