Question: problem 4 The function should split the string into words. Then, the function should append the lowercase version of the words to word_list if they

problem 4 problem 4 The function should split the string into words. Then, the

The function should split the string into words. Then, the function should append the lowercase version of the words to word_list if they aren't already in the list. Sample Run: #Assume word_list=['qatar', 'the'] Please enter a phrase or long string: College of the North Atlantic Qatar The new list is: ['qatar', 'the', college', 'of', 'north', 'atlantic'] #main prints the list. The function DOES NOT return anything. Function 4: def main(): This is where you will write statements to test the 3 functions above. Write inline comments to explain what you are testing. Test thoroughly. Debug as needed. Submit stringFunctions.py. Problem 4: Write a function in Python, printString Properties(), with NO LOOPS, which accepts a string from console (from the user) and (a) print the characters that have even indexes. (b) print the input string in reverse order. (c) print True if the input string is a palindrome, False otherwise. Note: A palindrome is a string which is same read forward or backwards. For example the string 12321 is a palindrome. Example: The input string is => 123456789 The characters that have even indexes are => 13579 The string in reverse order => 987654321 The input string is a palindrome => False

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!