|
@ -18,9 +18,6 @@ List |
|
|
<list>[from_inclusive : to_exclusive : step_size] |
|
|
<list>[from_inclusive : to_exclusive : step_size] |
|
|
<list>.append(<el>) # Or: <list> += [<el>] |
|
|
<list>.append(<el>) # Or: <list> += [<el>] |
|
|
<list>.extend(<list>) # Or: <list> += <list> |
|
|
<list>.extend(<list>) # Or: <list> += <list> |
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
```python |
|
|
|
|
|
<list>.sort() |
|
|
<list>.sort() |
|
|
<list>.reverse() |
|
|
<list>.reverse() |
|
|
<list> = sorted(<list>) |
|
|
<list> = sorted(<list>) |
|
|
xxxxxxxxxx