Question: Write a program in python with a function that accepts a string as an argument and returns a copy of the string with the first
Write a program in python with a function that accepts a string as an argument and returns a copy of the string with the first character of each sentence capitalized. For instance, if the argument is "hello, my name is Landon. what is your name?" the function should return the string "Hello, my name is Landon. What is your name?" The program should let the user enter a string and then pass it to the function. The modified string should then be displayed. Be sure to document your code throughout with comments.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
