the original code for map function in python code example
Example: map function to change type of element in python
nums = ['3','4','7']
nums = list(map(int, nums))
print(nums)
nums = ['3','4','7']
nums = list(map(int, nums))
print(nums)