def const(result):
 def constResult(*args, **kwargs):
  return result
 return constResult

def const ( result ) : def constResult ( * args , ** kwargs ) : return result return constResult
return a function that ignores any arguments and just returns the specified result .