Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to capitalize first letter in python

# To capitalize the first letter in a word or each word in a sentence use .title()
name = tejas naik
print(name.title())    # output = Tejas Naik
Source by favtutor.com #
 
PREVIOUS NEXT
Tagged: #capitalize #letter #python
ADD COMMENT
Topic
Name
4+5 =