The bug is that get_highest_score() is not being passed any input, so the function cannot calculate the maximum value. The fix is to pass the scores list to the function:

scores = [5, 7, 8, 10]
highest_score = get_highest_score(scores)
def get_highest_score(scores):
    return max(scores)

scores = [5, 7, 8, 10]
highest_score = get_highest_score()
Dato il seguente codice, identificare il bug e fornire la correzione