#!/usr/bin/python3
"""
Function that retunr all of atttrbutes and methods of an object.
"""


def lookup(obj):
    """
    Return a list with all of attributes and methods of an object.
    """
    return dir(obj)
