Dyskusje Q&A
dict comprehension
0 głosów
2 odpowiedziRegex with python
2 głosów
6 odpowiedzistrings & variables part 2
0 głosów
2 odpowiedziImmutable objects
1 Głos
2 odpowiedziI need your help with this
0 głosów
1 OdpowiedźLetter Counter
0 głosów
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
overloading operators << >>
1 Votes
I dont now that how to do js
2 Votes
fully dynamic arrays
1 Votes
Wishkit alternative for android
1 Votes
How to start in web dev?
0 Votes
Hi
0 Votes
Issue in code
0 Votes
My question is about python?
0 Votes