Python I Am Getting Nzec Error While Submitting This Code On Codechef

Python I Am Getting Nzec Error While Submitting This Code On Codechef