Q&A Discussões
Problem with blog
0 Voto
1 Respostapairs = {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
C pointers
1 Votes
Python
0 Votes
SQL
1 Votes
Guys help please
0 Votes
Slicing in python
1 Votes
Control flow
0 Votes
Python question
1 Votes
Front-end vs Full-stack
1 Votes
HTML
0 Votes