Dyskusje Q&A
pairs = {1: "apple",
"orange": [2, 3, 4],
True: False,
None: "True",
}
print(pairs.get("orange"))
print(pairs.get(1))
print(pairs.get(12345, "not in dictionary"))
the output is
[2, 3, 4]
False
not in dictionary
why is print(pairs.get(13345,"not in dictionary")) giving the output not in dictionary.pls I nid explanation
2 głosów
4 odpowiedziPopularne dzisiaj
Activities on sololearn
4 Votes
Html issue
2 Votes
Can you help me ?
1 Votes
Code coach
0 Votes
How I can use div
1 Votes
TIPS From Veterans
3 Votes
App development 🔥☝️
1 Votes
Playground input
1 Votes
What am I doing wring?
1 Votes