Complete the is_palindrome() function started below, and write the doctest so it satisfies all the conditions specified in the right side of this screenshot.
Code needed to do doctest:
if __name__ == '__main__':  import doctest  print (doctest.testmod()) With credit to https://class.coursera.org/programming2-001/lecture/29)