Dyskusje Q&A
Dictionary and tuples.
4 głosów
6 odpowiedzipairs = {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 odpowiedziI fail to understand
2 głosów
4 odpowiedziEmoji inputs
3 głosów
1 OdpowiedźDoubt related to dictionary
3 głosów
3 odpowiedziHi guys,
1 Głos
1 OdpowiedźMerge a dictionary
0 głosów
3 odpowiedzi[Python] Dictionary inverter
12 głosów
3 odpowiedziraise
1 Głos
2 odpowiedzi1 == True
2 głosów
2 odpowiedziOutput of dictionary
0 głosów
3 odpowiedziWhat is the answer to no.3
2 głosów
3 odpowiedziOutput of the key
0 głosów
11 odpowiedziTuples and dicts.
0 głosów
8 odpowiedziDictionary Functions
1 Głos
2 odpowiedziFunction for dictionary
0 głosów
6 odpowiedziFiles and Dictonaries
0 głosów
17 odpowiedziPopularne dzisiaj
App Development
1 Votes
GUI-Based Python code in Webpage
3 Votes
Convert Animated SVG to PNG
1 Votes
My Missing Courses
1 Votes
cyber security
0 Votes
Number addition
0 Votes
Are '\0' and NULL the same?
1 Votes