Python Programming - Console Input/Output - Discussion

Discussion Forum : Console Input/Output - General Questions (Q.No. 43)
43.
How can you read a line of text from the console and capitalize the first letter of each word?
capitalize_words(input())
input().title()
capitalize_first_letter(input())
input().capitalize_words()
Answer: Option
Explanation:
To read a line of text from the console and capitalize the first letter of each word, use title().
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.