Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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?
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started