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. Write a function named palindrome_word(). It will take in a string and

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!