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

NZEC Error in Python..

$
0
0

def main(): numbers=[] count=0 while True: num=raw_input(""); if not num: break elif num=="42": count=count+1 elif int(num)>0 and int(num)<100 and count==0: numbers.append(num) print "\n".join(numbers) return main() This solution is giving nzec error...and i have tried many solutions to this problem all with nzec error plzz help..


Viewing all articles
Browse latest Browse all 39796

Trending Articles



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