How to find a missing number from a list,a[-1] * (a[-1] + a[0]) / 2 - sum(a)