Python function that I just wrote is keep on looping up to a hundred. On the interpreter (or rather RUN), I am entering "5", but it executes the wrong "if" statement.
def range_v2(c):
int(c)
if c == 5:
for x in range(1, 50, +5):
print(x)
else:
for x in range(0, 100, +5):
print(x)
y = input()
int(y)
range_v2(y)