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
Copy file name to clipboardExpand all lines: index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -250,7 +250,7 @@
250
250
list_of_chars = list(<str>)
251
251
</code></pre>
252
252
<ul>
253
-
<li><strong>Check out module <ahref="#operator">operator</a>for alternative versions of examples.</strong></li>
253
+
<li><strong>Module <ahref="#operator">operator</a>provides functions itemgetter() and mul() that offer the same functionality as lambda expressions above.</strong></li>
254
254
</ul>
255
255
<pre><codeclass="python language-python hljs"><int> = <list>.count(<el>) <spanclass="hljs-comment"># Returns number of occurrences. Also works on strings.</span>
256
256
index = <list>.index(<el>) <spanclass="hljs-comment"># Returns index of first occurrence or raises ValueError.</span>
0 commit comments