225k views
0 votes
Write a program that for a string that contains multiple sentences, should try that string

so that after each point a new line should start with a new sentence

User Nichelle
by
4.4k points

1 Answer

7 votes

Answer:

Used code:-python

Step-by-step explanation:

def change_char(str1):

char = str1[0]

str1 = str1.replace(char, '$')

str1 = char + str1[1:]

return str1

print(change_char('restart'))

User Osbert
by
4.5k points