The most Pythonic way to convert a list of strings to a list of ints is to use the list comprehension [int(x) for x in strings] .
確定! 回上一頁