{"id":655911,"student_id":10,"content":"arr = ['a', 'b', 'c', 'd', 'e']\n\nprint('實驗 1')\nprint(arr[0:1]) \n\nprint('實驗 2')\nprint(arr[0:3]) \n\nprint('實驗 3')\nprint(arr[0:5]) \n\nprint('實驗 4')\nprint(arr[1:5]) \n\nprint('實驗 5')\nprint(arr[3:5]) \n\ndel arr[3:5] #刪除編號 3 到 5 不包含 5\nprint(arr) #看看切完後的結果\n","created_at":"2023-12-07T14:10:07.217+08:00","updated_at":"2023-12-07T14:12:54.401+08:00","name":"del 跟陣列切割","language":"python","screenshot":{"url":"https://cdn0.koding.school/uploads/project/screenshot/655911/1a8751143ccad470d05353353d0c5c28.jpg"},"parent_id":655910,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":66,"hashid":"ej9sew483","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":14717442,"file_name":"cloud.png","project_id":655911,"asset_id":302343,"created_at":"2023-12-07T14:10:07.226+08:00","updated_at":"2023-12-07T14:10:07.226+08:00"},{"id":14717443,"file_name":"bg.jpg","project_id":655911,"asset_id":302344,"created_at":"2023-12-07T14:10:07.228+08:00","updated_at":"2023-12-07T14:10:07.228+08:00"},{"id":14717444,"file_name":"calm.mp3","project_id":655911,"asset_id":302345,"created_at":"2023-12-07T14:10:07.229+08:00","updated_at":"2023-12-07T14:10:07.229+08:00"},{"id":14717445,"file_name":"koding.png","project_id":655911,"asset_id":302346,"created_at":"2023-12-07T14:10:07.231+08:00","updated_at":"2023-12-07T14:10:07.231+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦