Write a Python program that asks the user to input a string and then prints out that
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a Python program that asks the user to input a string and then prints out that string in Title Case. That is, the first letter of each word is uppercase and the remainder of the word is lowercase. If the entire word is two letters long, the entire word is lowercase. The three-letter words “and,” “the,” and “not” are all lowercase while all other three-letter words are capitalized. The first word in the string is capitalized. If the user enters the string the following strings:
The quick brown dog and the
The program should print out:
The Quick Brown Dog and the
So this is what I got:
Related Book For
Java An Introduction To Problem Solving And Programming
ISBN: 9780134462035
8th Edition
Authors: Walter Savitch
Posted Date: