Source Code:
(back to article)
string_list = ["1", "2", "3", "4"] int_list = [int(x) for x in string_list] print(int_list)
Result:
Report an issue