I want to convert Light travels faster than sound
into LIGHT travels faster than SOUND
in Python.
Here is what I have tried
s = "Light travels faster than sound.This is why some people appear bright until you hear them speak"
s.replace('Light', 'LIGHT')
s.replace('sound', 'SOUND')
print(s)