From 12802de823ce4473532a12aa7691be3cc11c3774 Mon Sep 17 00:00:00 2001 From: pprmint Date: Thu, 5 Oct 2017 16:19:31 +0800 Subject: [PATCH] first try --- python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python.md b/python.md index f8a246598..fdb8dde57 100644 --- a/python.md +++ b/python.md @@ -10,7 +10,7 @@ title: Python list[:-1] # return all but the last element list[i] = val - list[i:j] = otherlist # insert otherlist between ith and jth element + list[i:j] = otherlist # replace ith to jth element with otherlist del list[i:j] list.append(item)