python批量修改list元素的值 Posted on 10 10 月, 2021 Updated on 10 10 月, 2021 new = list() a = ['1', '2', '3'] for x in a: new.append(int(x)) print(new)