Sesiones de PyR
Dictionary and tuples.
4 Votos
6 Respuestaspairs = {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 RespuestasI fail to understand
2 Votos
4 RespuestasEmoji inputs
3 Votos
1 RespuestaHi guys,
1 Voto
1 RespuestaMerge a dictionary
0 Votos
3 Respuestas[Python] Dictionary inverter
12 Votos
3 Respuestasraise
1 Voto
2 Respuestas1 == True
2 Votos
2 RespuestasOutput of dictionary
0 Votos
3 RespuestasOutput of the key
0 Votos
11 RespuestasTuples and dicts.
0 Votos
8 RespuestasDictionary Functions
1 Voto
2 RespuestasFunction for dictionary
0 Votos
6 RespuestasFiles and Dictonaries
0 Votos
17 RespuestasEn tendencia hoy
Learn python
2 Votes
Help for study
1 Votes
Where's PHP and Ruby courses?
1 Votes
Detach thread exception
1 Votes
Qt timer timeout
0 Votes
Not video
0 Votes
Not image in the page
0 Votes
How to make a 2d game
0 Votes