New course! Every coder should learn Generative AI!
Try a free lessonQ&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
Comparing code coach solutions
3 Votes
Automatation python
1 Votes
General python
1 Votes
Coding
1 Votes
view challenge analytics
2 Votes
Problem with application
0 Votes
how to create a website
0 Votes
Road Runner!!! ✌🏻🙌🏻
1 Votes
HTML
0 Votes
How to make a game with Phyton
1 Votes