Answer:
def capitalize_sentences(string):
# Split the string into individual sentences
sentences = string.split('.')
# Iterate over each sentence and capitalize the first letter
capitalized_sentences = [sentence[0].upper() + sentence[1:] for sentence in sentences]
# Join the sentences together and add a period (.) at the end
output_string = '. '.join(capitalized_sentences) + '.'
return output_string