Konvertieren Sie die Liste der Saiten in INTs Python
test_list = ['1', '4', '3', '6', '7']
int_list = [int(i) for i in test_list]
EDestroyer
test_list = ['1', '4', '3', '6', '7']
int_list = [int(i) for i in test_list]
integers = [1, 2, 3]
strings = [str(integer) for integer in integers]
a_string = "". join(strings)
an_integer = int(a_string)
print(an_integer)
List<String> stringList = new ArrayList<String>(Arrays.asList("10", "30", "40",
"50", "60", "70"));
List<Integer> integerList = stringList.stream()
.map(Integer::valueOf).collect(Collectors.toList());