Question: What will be the output for the following code segment? my_sentence = I run each thin me? a wet, i run each team my_sentence =
What will be the output for the following code segment? my_sentence = "I run each thin me? a wet, i run each team" my_sentence = my_sentence.replace("TEAM","ma deem") print(my_sentence)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
