Skip to content

item 49 #131

Description

@bboritz

Maybe my misunderstanding, but shouldn't following + sign be a * sign instead (in evaluate)

class MultiplyNodeAlt(NodeAlt):
def init(self, left, right):
self.left = left
self.right = right

def evaluate(self):
    left = self.left.evaluate()
    right = self.right.evaluate()
    return left + right

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions