Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtisQ&A DiscussƵes
dict comprehension
0 Voto
2 RespostasRegex with python
2 Votos
6 RespostasImmutable objects
1 Voto
2 RespostasLetter Counter
0 Voto
1 Respostapairs = {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 RespostasQuente hoje
Media on HTML
0 Votes
Is Sololearn better or Mimo.org?
1 Votes
Code Playground
0 Votes
xampp
0 Votes
How to solve this
1 Votes
Editor HTML
0 Votes
Java project
0 Votes