Question: Write a function named palindrome_word(). It will take in a string and return True or False. If the string is King, are you glad you
Write a function named palindrome_word(). It will take in a string and return True or False. If the string is "King, are you glad you are king?", it will return True. That is it will test if the given string is a palindrome by words. 
6b. Write a function named palindrome word(). It will take in a string and return True or False. If the string is "King, are you glad you are king?", it will return True. That is it will test if the given string is a palindrome by words. (5 marks) }]: N 1 def palindrome word(a str): NMONO 10 my_string= "King, are you glad you are king?" 11 print (palindrome_word(my_string)) True
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
