Write a Python program that reads continues to read a sequence of lines from the user. If
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a Python program that reads continues to read a sequence of lines from the user. If the user prints enter only, the program stops reading further lines. For each line that is read, the program should print the line with the first letter capitalized, as well as any letter after the full stop. All other letters should be lower case. Numbers that show up at the beginning of the word stay the same. Punctuations stay the same.
For example, if the input is: HELLO this Is a Sample text. only used as an example. The output should be: Hello this is a sample text. Only used as an example.
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: