#!/usr/bin/python3
"""
    This function returns all attribute and method of an object
"""


def lookup(obj):
    """
        This function returns all attribute and method of an object
    """

    ls = dir(obj)
    return ls
