QuantumBlack interview question

implement coefficient of variation in python