#NEWLINE# def print_list( self ) : #NEWLINE# #INDENT# curr_node = self . head #NEWLINE# while ( curr_node is not None ) : #NEWLINE# #INDENT# print ( curr_node . data ) #NEWLINE# curr_node = curr_node . next