Q&A Discussions
Dictionary and tuples.
4 Votes
6 Answerspairs = {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 AnswersI fail to understand
2 Votes
4 AnswersEmoji inputs
3 Votes
1 AnswerDoubt related to dictionary
3 Votes
3 AnswersMerge a dictionary
0 Votes
3 Answers[Python] Dictionary inverter
12 Votes
3 AnswersOutput of dictionary
0 Votes
3 AnswersWhat is the answer to no.3
2 Votes
3 AnswersWhy there is an error
1 Vote
3 AnswersOutput of the key
0 Votes
11 AnswersTuples and dicts.
0 Votes
8 AnswersDictionary Functions
1 Vote
2 AnswersFunction for dictionary
0 Votes
6 AnswersFiles and Dictonaries
0 Votes
17 AnswersHot today
<--Cursor Point--/>
8 Votes
Solutions to challenges
0 Votes
Help in python
1 Votes
pls sololearn fix this
0 Votes
SINTAX ERROR WHERE?
1 Votes
Which dataset i can add
1 Votes