Question: Write a function below, bold _ word _ in _ paragraph, that takes two strings. The first is some paragraph or sentence, and the second
Write a function below,boldwordinparagraph, that takes two strings. The first is some paragraph or sentence, and the second is a single word. Complete the function so that it returns the original paragraphsentence but with the specified word surrounded by HTML bold tags. For example, if your paragraph wasHello there! It's really great to meet you."and your word wasgreat your function should returnHello there! It's really great to meet you."
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
