Question: what will be the code for this? Write a function to reverse all the characters of each word in an input string i.e input1. capitalize

what will be the code for this?
what will be the code for this? Write a function to reverse

Write a function to reverse all the characters of each word in an input string i.e input1. capitalize only the first letter of each word and return the output string. Input Specification: input1: An inputstring Output Specification: Return a string with the characters of each word in the reverse order and the first letter of each word capitalized. Example 1: input1: Hello world Output: Olleh Dirow Explanation: The reverse of the word "Hello" with its first letter capitalised is "Olleh" and similarly for the word "world", it is "Dirow". Hence the output string returned is Olleh Dlrow. Example 2

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!