Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to capitalize every item in a list python

list = ['1','2','3']
for i in range(len(list)):
  list[i] = list[i].upper()
Comment

PREVIOUS NEXT
Code Example
Python :: python request post 
Python :: ANSHUL 
Python :: rotation points space python 
Python :: python twilio certificate error 
Python :: pythons os module choose random file 
Python :: python seaborn violin plot fit data better 
Python :: how to access a private attribute in child class python 
Python :: youtube to mp3 python 
Python :: lock window size tkinter 
Python :: list(set()) python remove order 
Python :: download stopwords nltk 
Python :: python diamond pattern 
Python :: matplotlib axes limits 
Python :: access element of dataframe python 
Python :: python psycopg2 utf8 
Python :: python remove non empty read only directory 
Python :: pandas dataframe select rows not in list 
Python :: print bold text python 
Python :: tf tensor from numpy 
Python :: python extract mails from string 
Python :: plt turn legend off 
Python :: python check if variable is string 
Python :: float print format python 
Python :: making hexagon in python turtle 
Python :: python how often element in list 
Python :: remove all rows where one ccolumns egale to nan 
Python :: pygame flip image 
Python :: # find the common elements in the list. 
Python :: python difference between unique and nunique 
Python :: where to find python3 interpreter 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =