Answer:
MyString= input('Enter string: ')
string_capitalize(MyString)
print(MyString)
def string_capitalize(str):
str= str.capitalize()
return str
Step-by-step explanation:
This python code is learnt to access string value from users and capitalize all characters in the beginning of each sentence.