Update snippet descriptions
This commit is contained in:
@@ -14,9 +14,9 @@ def invert_dictionary(obj):
|
||||
|
||||
```py
|
||||
ages = {
|
||||
"Peter": 10,
|
||||
"Isabel": 11,
|
||||
"Anna": 9,
|
||||
'Peter': 10,
|
||||
'Isabel': 11,
|
||||
'Anna': 9,
|
||||
}
|
||||
invert_dictionary(ages) # { 10: "Peter", 11 "Isabel", 9: "Anna" }
|
||||
invert_dictionary(ages) # { 10: 'Peter', 11: 'Isabel', 9: 'Anna' }
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user