用於列表指令的介紹
參考資訊:
網站: https://automatetheboringstuff.com/chapter4/
影片: https://www.youtube.com/watch?v=Z9IxxW7428A
說明:
index( ), append( ), insert( ), remove( ), sort( ) 用於列表的指令
- 收尋出List的內容
- index( )
 
 - 添加新的值給列表
- append( ): 只能放置在端點
 - insert( ): 可以指定新增位置
 
 - 刪除列表中的值
- remove( )
 
 - 排列List內值的順序
- sort( )
 
index( ):
.png)
append( ) and insert( ):
 and insert( ).png)
remove( ):
.png)
sort( ):
.png)