F&A Diskussionen
Dictionary and tuples.
4 Stimmen
6 AntwortenDictionary definition issue
1 Stimme
3 Antwortenpairs = {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 Stimmen
4 AntwortenI fail to understand
2 Stimmen
4 AntwortenEmoji inputs
3 Stimmen
1 AntwortDoubt related to dictionary
3 Stimmen
3 AntwortenMerge a dictionary
0 Stimmen
3 Antworten[Python] Dictionary inverter
12 Stimmen
3 Antwortenraise
1 Stimme
2 Antworten1 == True
2 Stimmen
2 AntwortenOutput of dictionary
0 Stimmen
3 AntwortenWhat is the answer to no.3
2 Stimmen
3 AntwortenWhy there is an error
1 Stimme
3 AntwortenOutput of the key
0 Stimmen
11 AntwortenTuples and dicts.
0 Stimmen
8 AntwortenDictionary Functions
1 Stimme
2 AntwortenFunction for dictionary
0 Stimmen
6 AntwortenFiles and Dictonaries
0 Stimmen
17 AntwortenHeute heiß
Functions in python
2 Votes
How to make a playground
1 Votes
I need advice
1 Votes
Html 5 document question
1 Votes
Python
0 Votes
𝙵𝙸𝙽𝙳 𝚃𝙷𝙴 𝙸𝙽𝙿𝚄𝚃 𝙾𝙵 𝚃𝙷𝙴 𝙿𝚁𝙾𝙶𝚁𝙰𝙼
1 Votes