Discussions Q&R
dict comprehension
0 Vote
2 RéponsesRegex with python
2 Votes
6 RéponsesImmutable objects
1 Vote
2 RéponsesLetter Counter
0 Vote
1 Réponsepairs = {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 RéponsesAujourd'hui en vedette
Lesson on Robotics
1 Votes
Inner .html
0 Votes
Hyperlink and tests
0 Votes
Kamal Hinduja Switzerland : How long does it typically take to complete a course on Solo Learn?
0 Votes
About this app
1 Votes
Help for new learners
1 Votes
How do people get “Mentor” tag
0 Votes