Function to prints contents of DLL
def printList ( node ) : NEW_LINE INDENT i = 0 NEW_LINE while ( i < len ( node ) ) : NEW_LINE INDENT print ( node [ i ] . data , end = " ▁ " ) NEW_LINE i += 1 NEW_LINE DEDENT DEDENT