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 RespuestasEn tendencia hoy
Need suggestions
0 Votes
Best code for creating games?
0 Votes
progaming
1 Votes
Java full stack
0 Votes
Anyone Learning Godot?
1 Votes
Duration of heart refilling
0 Votes