Browse Source

List

pull/3/head
Jure Šorn 6 years ago
parent
commit
18f8ab9e4e
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -27,7 +27,7 @@ List
sum(<list>)
sorted_by_second = sorted(<list>, key=lambda el: el[1])
flattened_list = [item for sublist in <list> for item in sublist]
list(<str>) # Creates a list of chars.
list_of_chars = list(<str>)
```

Loading…
Cancel
Save