I’m getting the following error from the grader regarding the first exercise, while all tests passed when code runs on notebook. The same code runs on colab as well.
Failed test case: is_palindrome_fixed thrown an exception when sentence = “I like bread”. Aborting unittest.
Expected:
is_palindrome_fixed should run for any string,
but got:
Exception thrown was: name ‘is_palindrome’ is not defined.
I checked again and again for possible indentation issues. Any assist?