exceptions are preferabledef square )if type =int or type =float return * else return none def square )return * try result square value except typeerror print '{ 'invalid type format value )member of the helmholtz association slide