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

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