I’m new to SPOJ and am a bit confused. Every time I submit my answer for the first challenge I get a run time error
Here is my code:
while 1 : a = int(raw_input()) if a == 42: break; print (a)
Any help would be hugely appreciated
Maybe this will be helpfull? https://ideone.com/YSG6dK <— python 3 https://ideone.com/FIksSZ <— python 2.7
PS