Question: Write a single python statement to substitute pain for all occurrences of gain in the following string: myPhrase = You know what they say No
Write a single python statement to substitute pain for all occurrences of gain in the following string: myPhrase = You know what they say No pain, no gain!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
