You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python3 test_1.py
Traceback (most recent call last):
File "test_1.py", line 45, in
best, best_score, average_score = dna_stats(population)
File "test_1.py", line 37, in dna_stats
average_score = sum(member.score for member in population) / len(population)
TypeError: unsupported operand type(s) for +: 'int' and 'method'
The text was updated successfully, but these errors were encountered:
$ python3 test_1.py
Traceback (most recent call last):
File "test_1.py", line 45, in
best, best_score, average_score = dna_stats(population)
File "test_1.py", line 37, in dna_stats
average_score = sum(member.score for member in population) / len(population)
TypeError: unsupported operand type(s) for +: 'int' and 'method'
The text was updated successfully, but these errors were encountered: