You are probably looking for something like
a[i] += 3 if c[i] == 'fine' else (1 if c[i] == 'check' else 0)