class Node(object):
  def __init__(self):
    # Node(s) from which this Node receives values
    self.inbound_nodes = inbound_nodes
    # Node(s) to which this Node passes values
    self.outbound_nodes = []
    # For each inbound Node here, add this Node as an outbound to that Node.
    for n in self.inbound_nodes:
      n.outbound_nodes.append(self)

class Node(object):
  def __init__(self):
    # Node(s) from which this Node receives values
    self.inbound_nodes = inbound_nodes
    # Node(s) to which this Node passes values
    self.outbound_nodes = []
    # For each inbound Node here, add this Node as an outbound to that Node.
    for n in self.inbound_nodes:
      n.outbound_nodes.append(self)

    # A calculated value
    self.value = None

Add value property to class Node
Add value property to class Node

value is the calculated output of a Node.

  class Node(object):
    def __init__(self):
      # Node(s) from which this Node receives values
      self.inbound_nodes = inbound_nodes
      # Node(s) to which this Node passes values
      self.outbound_nodes = []
      # For each inbound Node here, add this Node as an outbound to that Node.
      for n in self.inbound_nodes:
        n.outbound_nodes.append(self)
  
+     # A calculated value
+     self.value = None
+ 
Add value property to class Node
## Code Before:
class Node(object):
  def __init__(self):
    # Node(s) from which this Node receives values
    self.inbound_nodes = inbound_nodes
    # Node(s) to which this Node passes values
    self.outbound_nodes = []
    # For each inbound Node here, add this Node as an outbound to that Node.
    for n in self.inbound_nodes:
      n.outbound_nodes.append(self)

## Instruction:
Add value property to class Node
## Code After:
class Node(object):
  def __init__(self):
    # Node(s) from which this Node receives values
    self.inbound_nodes = inbound_nodes
    # Node(s) to which this Node passes values
    self.outbound_nodes = []
    # For each inbound Node here, add this Node as an outbound to that Node.
    for n in self.inbound_nodes:
      n.outbound_nodes.append(self)

    # A calculated value
    self.value = None
