Ad
  • Custom User Avatar

    Maybe you are converting the input to an integer, you should try using float to check if the input is a number, remember that the input can also be a float, if you use int then it would round the number and your response would not match the given in the kata, and then when you return your response, convert it to an int before sending it.

  • Custom User Avatar

    Your code has a bug, not a kata issue. Print the input to help you debug your code.