如何根据list1创建以下数字的列表?
list1=[2,1,3]
列表1=[2,1,3]
[1, 1, 2, 3, 3, 3] (2) (1) (3) #<-- Ignore this part, I just put it to give you more detail of my question
上面,我想打印 二 一 (2) 以及 三 (3)因为列表1=[ , , 三
在python3里有什么有效的方法可以做到吗? (-抱歉,我是新来的堆栈溢出,请原谅我没有有效的提问)