Question: Write a function to uppercase every other word in a passed sentence. So given The dog ran a long way, it would output The DOG
Write a function to uppercase every other word in a passed sentence. So given “The dog ran a long way,” it would output “The DOG ran A long WAY.”
Step by Step Solution
3.35 Rating (164 Votes )
There are 3 Steps involved in it
def upperCase Otherssource parts sourc... View full answer
Get step-by-step solutions from verified subject matter experts
