Ad
  • Custom User Avatar

    I guess you've printed your answer instead of returning it because result of a function without a return is None and it seems like you are printing something.

    If I'm right than changing print(answer) to return answer should fix it.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution