Feb-16-2018, 12:26 AM
There are basic mistake,you try using float value in
number_of_rotation_1 is set to float in line before.
So if route
range(number_of_rotation_1)
.number_of_rotation_1 is set to float in line before.
So if route
route("/start-admission"
even run you should get TypeError.>>> n = 3 >>> for i in range(n): ... i ... 0 1 2 >>> # Make n value float then error >>> n = float(n) >>> n 3.0 >>> for i in range(n): ... i ... Traceback (most recent call last): File "<string>", line 301, in runcode File "<interactive input>", line 1, in <module> TypeError: 'float' object cannot be interpreted as an integer