Question: Question 1 (due Mar 2, 2020 on Coderunner; marks: 1% of your final grade) Define a function that capitalizes the nth occurrence of a given
Question 1 (due Mar 2, 2020 on Coderunner; marks: 1% of your final grade) Define a function that capitalizes the nth occurrence of a given word in a list of words. The signature of the function is given below. The function is expected to return the new list. def highlightNthoccurrence (inputList, word, n)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
