Compute Variance from a Python List | PayPal Interview Question