Write a program which takes a string from the user and replaces all occurrences of ‘b’ with ‘$’.
Write a program which takes a string from the user and replaces all occurrences of ‘b’ with ‘$’.
Related questions
Question
Write a
Expert Solution

Step 1
NOTE: As the programming language is not mentioned in the question. So, we have solved this question using the Python programming language.
Given,
- We have to write a program that takes a string from the user and replaces all occurrences of ‘b’ with ‘$’.
Step by step
Solved in 3 steps with 2 images
