# Tutorial 2 - Problem 1 def whatDoIDo(word): i = 0 j = len(word)-1 it_is = True while i < j and it_is: if word[i] != word[j]: it_is = False i += 1 j -= 1 return it_is # Main part of the program print(whatDoIDo("Anna")) print(whatDoIDo("anna")) # Feel free to use different test cases such as: print(whatDoIDo("level")) print(whatDoIDo("robert")) print(whatDoIDo("tomato")) print(whatDoIDo("civic")) # Question: What does the following Python program do? # Answer: Check to see if word is a palindrome. # Challenge: modify the function such that it returns True if # the test case is "Anna", i.e., it does not distinguish between # upper and lower cases.