|
@ -54,9 +54,9 @@ index = <list>.index(<el>) # Returns first index of item. |
|
|
Dictionary |
|
|
Dictionary |
|
|
---------- |
|
|
---------- |
|
|
```python |
|
|
```python |
|
|
<view> = <dict>.keys() # Collection of keys that reflects changes. |
|
|
|
|
|
<view> = <dict>.values() # Collection of values that reflects changes. |
|
|
|
|
|
<view> = <dict>.items() # Collection of key-value pairs. |
|
|
|
|
|
|
|
|
<view> = <dict>.keys() # Coll. of keys that reflects changes. |
|
|
|
|
|
<view> = <dict>.values() # Coll. of values that reflects changes. |
|
|
|
|
|
<view> = <dict>.items() # Coll. of key-value pairs. |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
```python |
|
|
```python |
|
|