Question: please use python!!! Define a function named q8() that accepts 1 string as a parameter and returns 1 string. The q8() function should build the

please use python!!! please use python!!! Define a function named q8() that accepts 1

Define a function named q8() that accepts 1 string as a parameter and returns 1 string. The q8() function should build the returned string by reversing and capitalizing the characters in each word from the parameter string (a word, is defined as a series of characters unbroken by a space-see the examples below). When writing your code, use these examples for testing For example: Input String Returned String I am Sam Sam I am That Sam-I-am That Sam-I-am! I do not like That Sam-I-am I MA MAS MAS I MA TAHT MA-I-MAS THAT! MA-I-MAS I OD TON EKIL TAHT MA-I-MAS NOTE: q8() should return the modified Strings -it should not use use print()

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!