Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to convert list to all uppercase

#Capitalise list

c = ['Kenya','Uganda', 'Tanzania','Ethopia','Azerbaijan']

converted_list = [x.upper() for x in c]print(converted_list)print("Remember to clap :-)")
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #convert #list #uppercase
ADD COMMENT
Topic
Name
7+7 =