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