(May-25-2018, 07:13 AM)wavic Wrote: If I code for someone else I check the type of the variables or the cli arguments.in this case you should catch the exceptions (in case of unexpected input), not check type... The type of the cli input will always be
str
anyways :-)
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