Comment capitaliser chaque élément dans une liste Python

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