¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuitaSesiones de PyR
dict comprehension
0 Votos
2 RespuestasRegex with python
2 Votos
6 RespuestasImmutable objects
1 Voto
2 RespuestasLetter Counter
0 Votos
1 Respuestapairs = {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
Media on HTML
0 Votes
Is Sololearn better or Mimo.org?
2 Votes
How to show img???
0 Votes
How to cast in python
0 Votes
Java project
0 Votes
How to solve this
1 Votes
Jungle capming
0 Votes
Python
0 Votes
JavaScript
0 Votes