Jan-26-2020, 06:18 PM
you are not doing anythinh with the value returned from the get() method (i.e. it's just returned and then lost)
either assign it to a name, so that you can use it later, or print it, e.g.
either assign it to a name, so that you can use it later, or print it, e.g.
value = dictionary.get(x) # do something, possibly with value print(value) # or simply print(dictionary.get(x))
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs