Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

capitalize first letter of each word python

# Use title() to capitalize the first letter of each word in a string.
name = "elon musk"
print(name.title())
# Elon Musk
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #capitalize #letter #word #python
ADD COMMENT
Topic
Name
1+6 =