Dyskusje Q&A
Amicable Pairs
2 głosów
3 odpowiedziTwo pairs and two GCD
1 Głos
1 Odpowiedź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 głosów
4 odpowiedziPopularne dzisiaj
Code coach popsicles challenge
0 Votes
Sarang
2 Votes
Buggy app today
1 Votes
??
1 Votes
Programming
0 Votes
Code coach isn't awarding xp
0 Votes