Skip to content

python_List

seanbefore edited this page Mar 16, 2018 · 1 revision

##python List access

###python数组访问: list为列表,访问下标从0开始。

  • 一维:list[i]
  • 二维:list[i][j]

list组合:

  • 添加 list.append()
  • 组合 list2=[list1,list3]

Clone this wiki locally