text: class Node:
      def __init__(self, init_data):
          self.data = init_data
          self.next = None
  
      def get_data(self):
          return self.data
  
      def get_next(self):
          return self.next
  
      def set_data(self, new_data):
          self.data = new_data
  
      def set_next(self, next_data):
          self.next = next_data
  
  
  