how to change type of elements in list python code example Example: python change type of elements in list list(map(int, ['1','2','3'])) # => [1,2,3]