Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Capitalize first letter in python

s = "python"
print("Original string:")
print(s)
print("After capitalizing first letter:")
print(s.capitalize())
Source by favtutor.com #
 
PREVIOUS NEXT
Tagged: #Capitalize #letter #python
ADD COMMENT
Topic
Name
5+9 =