Q&A Discussions
Amicable Pairs
2 Votes
3 AnswersTwo pairs and two GCD
1 Vote
1 Answerpairs = {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 AnswersHot today
Vote Code
1 Votes
Input errors (python)
1 Votes
Data structure using C
0 Votes
Without degree job
0 Votes
Html learn
1 Votes
Python ???
0 Votes