Nov-11-2018, 11:43 AM
(Nov-11-2018, 07:02 AM)MeenakshiAgarwal Wrote: There is one more elegant way to achieve the switch-case effect in Python, i.e., using the OOPs concept.Frankly, both examples are overcomplicated implementation for something that can be written in few lines.
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