Python,制作元组列表列表 [英] Python, making List of List of Tuple
本文介绍了Python,制作元组列表列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在研究python,我遇到了问题。制作元组列表的方法是什么,例如[[(X,Y)]]。我是python的新手。
谢谢
解决方案
就像那样: [[(X,Y )]]
。你试过吗?
Hallo Everybody,
I have been working on python, and I have got a problem. What is the way to make list of list of tuple, for example, [[(X, Y)]]. I am new on python.
Thanks
解决方案
Just like that: [[(X, Y)]]
. Have you tried it?
这篇关于Python,制作元组列表列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文