Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobierenF&A Diskussionen
pairs = {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ß
Html img
2 Votes
Am new in learning programming
0 Votes
Where do i write my code?
0 Votes
Popsicles
0 Votes
I'm new in learning programming
0 Votes
Weird Floating Point operation
0 Votes
Input Mismatch Error in Java
0 Votes
how do i load the Apl
1 Votes