May-02-2019, 10:33 AM
Don't try to translate it verbatim. You have to understand the algorithm, the program/logic flow and implement it in python.
As to your code - it's difficult to say something different in addition to what you already said yourself - it doesn't look right at all.
As to your code - it's difficult to say something different in addition to what you already said yourself - it doesn't look right at all.
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