Question: Write a function that takes a passed sentence and an index and returns the sentence with the word at the index uppercased. For example, if
Write a function that takes a passed sentence and an index and returns the sentence with the word at the index uppercased. For example, if the function takes in a sentence “I love the color red” and the index 4 it returns “I love the color RED.”
Step by Step Solution
3.41 Rating (170 Votes )
There are 3 Steps involved in it
def upperWordAtIndexsource indexUpper par... View full answer
Get step-by-step solutions from verified subject matter experts
