a = 1 b = 2
我想将 a:b 插入到空白的 python 列表中
list = []
as
a:b
正确的语法是什么,结果是
[(a:b), (c:d)]
?
这只是为了以后我可以按值从最小到最大对列表进行排序
如何将键值对插入到 python 列表中?