exceptions are preferabledef square )if type =int or type =float return * else return none what about other numerical data types (complex numbersown data types)bettertry to compute the power and catch possible exceptionsduck-typing caller of function might forget to check return values for validity betterraise an exceptionmember of the helmholtz association slide