netdzb 当前离线
上尉
wujunkai 当前离线
六级士官
>>> data = [['256', '509'], ['510', '763'], ['764', '1017'], ['1018', '1271'], ['1272', '1526']] >>> data = eval(str(data).replace("'",'').replace('"','')) >>> data [[256, 509], [510, 763], [764, 1017], [1018, 1271], [1272, 1526]]复制代码
TOP
ivor 当前离线
上校
data = [['256', '509'], ['510', '763'], ['764', '1017'], ['1018', '1271'], ['1272', '1526']] data = [[int(y) for y in x] for x in data]复制代码