0基礎自學《Python編程從入門到實踐》章節4.4習題自測

4-10 切片:選擇你在本章編寫的一個程序,在末尾添加幾行代碼,以完成如下任務。 - 打印消息「The first three items in the list are:" ,再使用切片來打印列表的前三個元素。 - 打印消息"Three items from the middle of the list are:",再使用切片來打印列表中間的三個元素。 - 打印消息"Three items in
相關文章
相關標籤/搜索