I have a basic loop as follows:
for x in range(81,346):
print float(((x - 81)/(346-81))*100)
# DO STUFF
The thing is, the output I get is 0.0 for all values. I checked to see that x-81 is giving the correct output. I also replaced 346-81 as 265. But for some reason, all output is being given as 0.0.
Any suggestions as to what is going wrong?