Description: I have three variable a, x and y. I want to apply the following, if variable a in range(x, y) print the a variable
Code:
a = "0.50"
x = "-14.40"
y = "0.50"
for a in range(int(x), int(y)):
print a
Error (of course):
ValueError: invalid literal for int() with base 10: '-14.40'
Pythonista i need your help here please!!