Q&A Discussões
Dictionary and tuples.
4 Votos
6 Respostaspairs = {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 RespostasI fail to understand
2 Votos
4 RespostasEmoji inputs
3 Votos
1 RespostaHi guys,
1 Voto
1 RespostaMerge a dictionary
0 Voto
3 Respostas[Python] Dictionary inverter
12 Votos
3 Respostasraise
1 Voto
2 Respostas1 == True
2 Votos
2 RespostasOutput of dictionary
0 Voto
3 RespostasWhy there is an error
1 Voto
3 RespostasOutput of the key
0 Voto
11 RespostasTuples and dicts.
0 Voto
8 RespostasDictionary Functions
1 Voto
2 RespostasQuente hoje
How to improve code readability
0 Votes
Functions
1 Votes
App
0 Votes
I NEED to make a game
0 Votes
Please help with the output
0 Votes
Grouping data is not working
0 Votes
Use of flag
0 Votes
Mentor
0 Votes