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