add ggive_name method to polynom
This commit is contained in:
parent
9ddb015a87
commit
9a7f0da24e
@ -175,6 +175,9 @@ class Polynom(Explicable):
|
|||||||
else:
|
else:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
def give_name(self, name):
|
||||||
|
self.name = name
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return str(Expression(self.postfix_tokens))
|
return str(Expression(self.postfix_tokens))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user