Q&A Discussions
dict comprehension
0 Votes
2 AnswersRegex with python
2 Votes
6 Answersstrings & variables part 2
0 Votes
2 AnswersImmutable objects
1 Vote
2 AnswersI need your help with this
0 Votes
1 AnswerLetter Counter
0 Votes
1 Answerpairs = {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 Votes
4 AnswersHot today
No GitHub?????
3 Votes
Que
1 Votes
Problem with Javascript function
0 Votes
Guys any tips one getting cubes?
1 Votes
For Programming i need Patience
0 Votes
Installing modules in SL env py
2 Votes
Html
0 Votes
DSA courses
0 Votes