from core.node import Node


class Constant(Node):

    def __init__(self, val):
        super().__init__()
        self.value = val

    def perform(self):
        return self.value

    def derivative(self, wrt):
        return 0

    def toString(self):
        return str(self.value)

c6df8803e40e95497d46a920b3641fdb074698b5
<mask token>


class Constant(Node):

    def __init__(self, val):
        super().__init__()
        self.value = val
    <mask token>
    <mask token>

    def toString(self):
        return str(self.value)

<mask token>


class Constant(Node):

    def __init__(self, val):
        super().__init__()
        self.value = val
    <mask token>

    def derivative(self, wrt):
        return 0

    def toString(self):
        return str(self.value)

<mask token>


class Constant(Node):

    def __init__(self, val):
        super().__init__()
        self.value = val

    def perform(self):
        return self.value

    def derivative(self, wrt):
        return 0

    def toString(self):
        return str(self.value)

from core.node import Node


class Constant(Node):

    def __init__(self, val):
        super().__init__()
        self.value = val

    def perform(self):
        return self.value

    def derivative(self, wrt):
        return 0

    def toString(self):
        return str(self.value)
