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