import ast


def define_func(name, args, body):
    """
    Construct AST function definition with specified name, args and 
    body.
    """
    return ast.FunctionDef(
        name = name,
        args = args,
        body = [ast.Return(value = body)],
        decorator_list = [],
        returns = None,
    )