I am getting this error message. Any help in debugging would be appreciated. I have looked at the hints and do not see how my code differs.
Hi,
From the error it seems the error is not choosing the best spilt.
If you send it to me in a direct message I can take a look.
Hi @Niall_Boyd ,
To get some idea of what is happening, you can put a print statement just below the ‘for’ loop to print out the value of all the variables that are important in the calculation.
Thanks, printed out some of the variables and noticed max wasn’t being updated, and fixed a typo in the variable. Thanks for the help
Hi @Niall_Boyd ,
Great to hear you have solved the problem. I found using print statement for debugging is simple and very useful. Of course, there are debuggers as well, but that will come later.
Hi Mr.SamReiswig
I am getting the same error in the above post. Can I have me solve it. Much thanks to you!
@TDT_UIT, I’m not sure if Sam is still active on the forum. And this thread has been cold for two years.
I recommend you start a new thread for your question.
Thanks for your notice