Como capitalizar todos os itens em uma lista python

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