python批量修改list元素的值

new = list()
a = ['1', '2', '3']
for x in a:
  new.append(int(x))
print(new)