Discussions Q&R
Dictionary and tuples.
4 Votes
6 Réponsespairs = {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 RéponsesI fail to understand
2 Votes
4 RéponsesEmoji inputs
3 Votes
1 RéponseMerge a dictionary
0 Vote
3 Réponses[Python] Dictionary inverter
12 Votes
3 Réponsesraise
1 Vote
2 Réponses1 == True
2 Votes
2 RéponsesOutput of dictionary
0 Vote
3 RéponsesWhat is the answer to no.3
2 Votes
3 RéponsesWhy there is an error
1 Vote
3 RéponsesOutput of the key
0 Vote
11 RéponsesTuples and dicts.
0 Vote
8 RéponsesDictionary Functions
1 Vote
2 RéponsesFiles and Dictonaries
0 Vote
17 RéponsesAujourd'hui en vedette
Why javascript
1 Votes
Virtual memory verification
1 Votes
Anagram
0 Votes
Where is react course?
2 Votes
How people get that much xp
1 Votes
Things on coding
0 Votes