map () applies int() to every value in str_nums . Since map() returns an iterator (a map object), you'll need call list() so that you can exhaust the iterator ...
確定! 回上一頁