Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

How to get my answer correct..??

$
0
0

hey there :) Could anyone please help me as to how exactly am I supposed to frame a program( in terms of I/O) such that the CodeChef computer checks it correctly. Or basically, what is the way which the checker accepts..?? In the question Life, universe,everything, im pretty sure i've written the the code correctly. WHAT EXACTLY DOES CODECHEF WANT..??? :p

while(1):
    x = input()
    if (x == 42):
        break
    elif (x >= 99):
        break
    print x

Viewing all articles
Browse latest Browse all 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>