In Python, I want to convert all strings in a list to integers.
(在Python中,我想将列表中的所有字符串转换为整数。)
So if I have:
(所以,如果我有:)
results = ['1', '2', '3']
How do I make it:
(我该如何做:)
results = [1, 2, 3]
ask by Michael translate from so