Source Code:
(back to article)
numbers = ['1', '2', '3', '4'] for i in range(len(numbers)): numbers[i] = float(numbers[i]) print(numbers)
Result:
Report an issue