def detect_type(content):
    """
    >>> detect_type([1, 2]) == list
    True

    >>> detect_type({"a": 1}) == dict
    True

    >>> detect_type(1) == "object"
    True
    """
    if isinstance(content, list):
        return list
    elif isinstance(content, dict):
        return dict
    else:
        return "object"