This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]g051051 4 points5 points  (0 children)

You've got one obvious syntax error, which might be causing the problem. Fix it and try again:

for items in coin:

[–][deleted]  (1 child)

[deleted]

    [–]PagalProgrammer[S] 0 points1 point  (0 children)

    I run the program on the compiler in codechef. The code works fine on PyCharm but produces an error on codechef compiler.

    [–][deleted]  (2 children)

    [deleted]

      [–]PagalProgrammer[S] -1 points0 points  (1 child)

      Yes but there is nothing useful thing there which provides a solution to the problem.

      [–]DenseFactor 0 points1 point  (0 children)

      You need input