Q&A Discussões
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 Votos
4 RespostasQuente hoje
overloading operators << >>
1 Votes
how does this code function?
2 Votes
.
1 Votes
My question is about python?
0 Votes
.
0 Votes
i need to learn Coding
0 Votes
Quiz duel
0 Votes
Web
0 Votes