python
Write a Python program that changes all occurrences of its first character to ‘S’ except the first char itself. Sample String: restart Expected Result: restaSt Hint: You can use replace function str.replace(old, new) old – This is old substring to be replaced new – This is new substring, which would replace old substring. Show transcribed image text Write a Python program that changes all occurrences of its first character to ‘S’ except the first char itself. Sample
OR
OR