float
object cannot be interpreted as an integer
I want to generate a for loop using decimals. I need the y
value from the loop to create a list
.
This is a project and I cant use numpy
.
Are there any alternatives on approaching this issue?
value1
, value2
and interval
are all float
.
for i in range ( value1 , value2 , interval):