(Aug-26-2019, 05:00 AM)roseojha Wrote: although I have provided the error statement in .get(, 'my error msg')
Also, note that second argument of dict.get() is not custom error message. The second argument is default value that is returned when key is missing.
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