Problem code is - TEST
while True:
i = int(input())
if i == 42:
break
else:
print(i)
Problem code is - TEST
while True:
i = int(input())
if i == 42:
break
else:
print(i)
EOF error comes when you donot provide any input. Just give a input and you are good to go
Got it!! Thank you somuch.