Open va26 opened 6 years ago
In line 95 the earlier code was checking the if condition between score[best_i] and score[best_j] and it was giving an error as best_j was not defined. Since line 94 was using best_j_score so I changed the variable name from best_j to best_j_score.
if condition
score[best_i]
score[best_j]
best_j
best_j_score
In line 95 the earlier code was checking the
if condition
betweenscore[best_i]
andscore[best_j]
and it was giving an error asbest_j
was not defined. Since line 94 was usingbest_j_score
so I changed the variable name frombest_j
tobest_j_score
.