Skip to content
Snippets Groups Projects
Commit e275fa49 authored by jonas.stirnema's avatar jonas.stirnema
Browse files

Merge branch '8-fix-the-show-method' into 'main'

Resolve "Fix the show method"

Closes #8

See merge request !8
parents 9fc5af2d 4f3fd9cc
No related branches found
No related tags found
1 merge request!8Resolve "Fix the show method"
......@@ -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 = ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment