返回顶部

收藏

List items need not all have the same type.

更多
a = ['spam', 'eggs', 100, 1234]
print a

标签:Python,List

收藏

0人收藏

支持

0

反对

0

»更多 您可能感兴趣的代码
  1. 2017-03-05 16:43:50Getting a List Subset: Slicing by Solon.Ring
  2. 2016-01-09 09:02:42List append(x) by 张宋付
  3. 2016-01-18 18:13:30test for List membership with in by 蟋蟀MM
  4. 2016-02-19 18:26:46List concatenation: speed by 司马
  5. 2016-03-05 09:58:39Assignment to slices: Replace some items by 司马
  6. 2016-08-18 12:10:14Introducing List Filtering by 大猪
  7. 2016-09-23 11:53:50Using Lists as Stacks by 蟋蟀MM
  8. 2017-03-05 16:53:50Nested list: two dimensions by 张宋付
  9. 2012-12-28 17:56:40Python统计列表中元素出现的次数 by 梁方
  10. 2013-02-02 18:57:48Python list使用示例 by grant
  11. 2013-10-27 13:16:09python 列表操作:插入元素到列表 by 阿明娃儿

发表评论