You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6469ac7
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: 114.md
+60-29Lines changed: 60 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,18 @@
1
1
>Then Peter came to him and said,"Lord, how many times must I forgive my brother who sins against me? As many as seven times?" Jesus said to him,"Not seven times, I tell you, but seventy-seven times?" (MATTHEW 18:21-22)
>Return a list of the words in the string S, using sep as the delimiter string. If maxsplit is given, at most maxsplit splits are done. If sep is not specified or is None, any whitespace string is a separator and empty strings are removed from the result.
173
+
Return a list of the words in the string S, using sep as the delimiter string. If maxsplit is given, at most maxsplit splits are done. If sep is not specified or is None, any whitespace string is a separator and empty strings are removed from the result.
165
174
166
-
不管是否看懂上面这段话,都可以看例子。还是希望看官能够理解上面的内容。
175
+
不管是否看懂上面这段话,都可以看例子。还是希望能够理解上面的内容。
167
176
168
177
>>> line = "Hello.I am qiwsir.Welcome you."
169
178
170
179
>>> line.split(".") #以英文的句点为分隔符,得到list
171
180
['Hello', 'I am qiwsir', 'Welcome you', '']
172
181
173
-
>>> line.split(".",1) #这个1,就是表达了上文中的:If maxsplit is given, at most maxsplit splits are done.
182
+
>>> line.split(".",1) #这个1,就是表达了上文中的:If maxsplit is given, at most maxsplit splits are done.
0 commit comments