标签:none keyword log rgb tail token csdn prism https
list 中 套着 list
l = [[1,2],[3,4],[[5,6],[7,8]]] # 如何打印输出字符 5
print(l[2][0][0]) # 该如何理解呢?
去掉外层的嵌套
xx = [[1],[2]] yy= [i[0] for i in xx] print(xx) print(yy)
REF
https://www.cnblogs.com/sexyboy/p/8510141.html
https://blog.csdn.net/weixin_42250835/article/details/86698139?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-2.not_use_machine_learn_pai&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-2.not_use_machine_learn_pai
http://www.voidcn.com/article/p-zijkotyk-bz.html
标签:none keyword log rgb tail token csdn prism https
原文地址:https://www.cnblogs.com/emanlee/p/14337609.html