Posts by Spider • 1 point
1 post
-
0
votes1
answer645
viewsQ: Python Error: 'int' Object has no attribute '__getitem__'
I’m writing a genetic algorithm in Python to find the minimum of some mathematical functions. The problem is that when I go to calculate the fitness of a function and store the result in the fitness…