It was a Simple Problem but I’m getting NZEC.
The code is we have to print the inputs until we got the value 42. The time we got this number(42) we must stop taking inputs.
The Code i have written is as shown Below (Python).
problem Link is here: https://www.codechef.com/LRNDSA01/problems/TEST