Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert list elements to uppercase python

>>> [x.lower() for x in ["A", "B", "C"]]
['a', 'b', 'c']
>>> [x.upper() for x in ["a", "b", "c"]]
['A', 'B', 'C']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #list #elements #uppercase #python
ADD COMMENT
Topic
Name
7+3 =