Ad
  • Custom User Avatar

    None should equal... means your function returns None (it returns nothing or an empty value). Never do return print..., print doesn't return anything, it just display stuff to the console, so doing this is just like doing return None or even just return. You must return your_result, that easy. And this is not a kata suggestion (=suggestion of improvement to the kata), but a question.