code: def backup(self, value):
      current = self
  
      while current.parent is not None:
          if self.mcts.turn_based_flip:
              value = -value
          current.number_visits += 1
          current.total_value += value
          current = current.parent
  
imports: import collections
  import copy
  import math
  import numpy
label_desc: Use image node_id 12 for calling the Node obj's underlying member method code with example usage: obj.backup(value) without return types