标签: python-2.7
我有一个python代码的输出:
(1,"triangle","yellow") (2,"square","green")
如何获得下面的输出?
[(1,"triangle","yellow"),(2,"square","green")]