Sesiones de PyR
pairs = {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 RespuestasEn tendencia hoy
Loops and conditions
2 Votes
photo upload issue in html code
0 Votes
app for lessons
1 Votes
Need a personal tutor
0 Votes
Community and feed option
0 Votes