Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

map function to change type of element in python

nums = ['3','4','7']
nums = list(map(int, nums))
print(nums)
 
PREVIOUS NEXT
Tagged: #map #function #change #type #element #python
ADD COMMENT
Topic
Name
7+6 =