x=["01,02,03,10,11,12", "05,13,14,15,16,17"]
sz = []
for item in x:
yzx = [];
z = item.split(",")
for str in z:
yzx.append(int(str));
sz.append(yzx)
print(sz)
用列表,()圆括号是元组;效果 :[[1, 2, 3, 10, 11, 12], [5, 13, 14, 15, 16, 17]]