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
HELP ME LEARN
1 Votes
Please tell me about methods
1 Votes
How do i learn php in here?
1 Votes
Hi everyone I hope you’re well
0 Votes
Running of python or js script (backend) and entering of html page by clicking SUBMIT button
2 Votes
Inserting Images
1 Votes