Write a function that takes a passed sentence and an index and returns the sentence with the

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 the function takes in a sentence “I love the color red” and the index 4 it returns “I love the color RED.”

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: