Q&A Discussies
Dictionary and tuples.
4 Stemmen
6 Antwoordenpairs = {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 Stemmen
4 AntwoordenI fail to understand
2 Stemmen
4 AntwoordenEmoji inputs
3 Stemmen
1 AntwoordDoubt related to dictionary
3 Stemmen
3 AntwoordenHi guys,
1 Stem
1 AntwoordMerge a dictionary
0 Stemmen
3 Antwoorden[Python] Dictionary inverter
12 Stemmen
3 Antwoordenraise
1 Stem
2 Antwoorden1 == True
2 Stemmen
2 AntwoordenOutput of dictionary
0 Stemmen
3 AntwoordenWhat is the answer to no.3
2 Stemmen
3 AntwoordenOutput of the key
0 Stemmen
11 AntwoordenTuples and dicts.
0 Stemmen
8 AntwoordenDictionary Functions
1 Stem
2 AntwoordenFunction for dictionary
0 Stemmen
6 AntwoordenPopulair vandaag
Decorators in python.
2 Votes
Need help
1 Votes
Pointers in c#
1 Votes
How to install Bcrypt here
1 Votes
Please click me
0 Votes
Hello !
0 Votes
Help
1 Votes