Write a function that takes a sentence as an input parameter and replaces the first letter of every word with the corresponding uppercase letter and rest of letters in the word by corresponding letters in lowercase without using built-in function.
Answers
Answered by
0
Answer:
capwords() capwords() is a python function that converts the first letter of every word into uppercase and every other letter into lowercase. The function takes the string as the parameter value and then returns the string with the first letter capital as the desired output.
Answered by
0
answer :capwords() is a python function that converts the first letter of every word into uppercase and every other letter into lowercase. The function takes the string as the parameter value and then returns the string with the first letter capital as the desired output.
hope it helps
Similar questions