Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to capitalize first letter in python in list using list comprehension

my_list = ['apple pie', 'orange jam']
print my_list[0].capitalize()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #capitalize #letter #python #list #list #comprehension
ADD COMMENT
Topic
Name
6+6 =