def mult(a, b):
 try:
  return (a * b)
 except TypeError:
  return (to_decimal(a) * to_decimal(b))

def mult ( a , b ) : try : return ( a * b ) except TypeError : return ( to_decimal ( a ) * to_decimal ( b ) )
if we get typeerror from * .