as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
define a node object as follows:
user
class node:
    """a node object containing a data, pointer and other related information."""

    def __init__(self, data):
        """initializes a node object with its data.

        attributes:
            data: a value that this node holds.
            next: a pointer to the next node in the data structure.
            previous: a pointer to the previous node in the data structure.
        """
        self.data = data
        self.next = none
        self.previous = none
assistant