Ad
  • Custom User Avatar

    Oh... thank you. il'try...

  • Custom User Avatar

    you misunderstood the task. look at the error messages, the sample tests and the description: you are supposed to return a function that can be called. Your current implementation returns a char. this is why the tests complain that called object type 'char' is not a function

  • Custom User Avatar

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

  • Custom User Avatar

    you are not supposed to write your own main() function on Codewars. If you do, the tests cannot work correctly, as they provide their own. Also, please use markdown formatting when posting code.

  • Custom User Avatar

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