0
Can u explain me dictionary, please (part of code)
pairs = {1: "apple", "orange": [2, 3, 4], True: False, None: "True", } print(pairs.get("orange")) print(pairs.get(7)) print(pairs.get(12345, "not in dictionary")) ———————————————————————— I can't understood, what is doing this code: True: False, None: "True",
2 Antworten
+ 1
They're just key value pairs right?
0
I dunno, it's something around sense of my question)