Task: Write a Python Program to convert string in Sentence case. This python programming tutorial will explain the logic of the progrm. The program will take input string and converts it into Sentence case.
For example it will convert the input string – ‘how are you?’ into ‘How are you?’
The Source Code of Python Program to convert string in Sentence case
The output of the program
Enter a string to convert into Sentence case:hello python world.
hello python world. In sentence case = Hello python world.
Enter a string to convert into Sentence case:pakistan! we love you.
pakistan! we love you. In sentence case = Pakistan! we love you.
1,639 total views, 12 views today