0
What does get mean in dictionary
3 Respostas
+ 4
get() is a dictionary method that returns the corresponding value of a given key. There is an optional parameter for the value to be returned if the key is not found.
Here's an example
https://code.sololearn.com/c3764yI7Ri8X
0
Asuman Jjunju
Hi buddy
Sorry but your question doesn't make sense.
May I suggest the following.
1. Header -> State the basic problem, which you did.
2. Tags -> Language, concepts
So you might put PYTHON, DICTIONARIES, GET
3. Description -> a detailed description of your problem.
Post your example, or your code so people can see what you are trying to do