def coalesce(*args):
    """
    Return the first non-None argument

    >>> coalesce()

    >>> coalesce(0, 1)
    0
    >>> coalesce(None, 0)
    0
    """
    for arg in args:
        if arg is not None:
            return arg
