F&A Diskussionen
C# Dictionary’s and Lists!
1 Stimme
1 AntwortHow to sort this dictionary?
1 Stimme
5 Antwortendict comprehension
0 Stimmen
2 AntwortenHaving problems creating a database
0 Stimmen
1 AntwortRegex with python
2 Stimmen
6 Antwortenstrings & variables part 2
0 Stimmen
2 AntwortenImmutable objects
1 Stimme
2 AntwortenI need your help with this
0 Stimmen
1 AntwortLetter Counter
0 Stimmen
1 Antwortpairs = {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 Stimmen
4 AntwortenHeute heiß
Vote Code
1 Votes
Input errors (python)
1 Votes
Without degree job
0 Votes
Script file names
0 Votes
Html learn
1 Votes