We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 139dcc1 commit 0c739f8Copy full SHA for 0c739f8
python.md
@@ -43,7 +43,7 @@ list1 + list2 # combine two list
43
lst.sort() # In-place sort
44
sorted(lst) # Sorted copy
45
lst.reverse() # In-place reverse
46
-reversed(lst) # Reversed copy
+list(reversed(lst)) # Reversed copy
47
list.count(value) # Counts number of elements with the specified value
48
",".join(lst) # Join elements into a string if all elements are strings
49
",".join(map(str, lst)) # Join elements into a string
0 commit comments