5 lines
98 B
Plaintext
5 lines
98 B
Plaintext
let d = {'a': 1, 'b': 2, 'c': 3}
|
|
let dInverted = {v: k for k, v in d.items()}
|
|
print(d,dInverted)
|
|
|