Hello can anyone tell me what is wrong with this python 3 code of mine
active = True
while active:
n = int(input('Enter the number= '))
if n == 42:
active = False
else:
print(n)
I am unable to find any error in this code of mine but it still shows wrong answer on SPOJ