diff --git a/polynome.py b/polynome.py index b6d1c257dbffead7e48d6df6b5711d7e87d927be..cf6272887eca1a70c9fc690055f74ad537c5772e 100644 --- a/polynome.py +++ b/polynome.py @@ -3,7 +3,6 @@ import math -# Now reading the coefs in the right order class polynome(): def __init__(self, coefs : list): self.coefs = coefs @@ -17,7 +16,7 @@ class polynome(): else: coef = "" if i != 0: - power = f"x^{i}" + power = f"x^{i} +" else: power = ""