Weird Error
TypeError: list indices must be integers or slices, not float on line 83
in the section of Hill climbing , I was solving the first exercise in Advanced level, I wrote a code that consists of 71 lines only , after clicking plot button , I got this message which is weird because my code is only 71 lines and it is saying that I have an error on line 83.
also I made sure that all the indices that I used for lists are integers , I used the int() function to make sure that all indices that i entered are integers
Help please