n = int(input())
for x in (range(1,n))%2!=0:
if x % 3 == 0 and x % 5 == 0:
print("SoloLearn")
elif x % 3 == 0:
print("Solo")
elif x % 5 == 0:
print("Learn")
It gives this error---TypeError: unsupported operand type(s) for %: 'range' and 'int' why can i not divide 2 by range of numbers?