Quantitative data is often read in as strings that must be converted to numeric types before processing. The types of all list items can be converted with either a List Comprehension or the map() function.
# Convert a list of strings to integers.
items = ["1","2","3",...