fix(curriculum): typo in challenge description (#59211)

This commit is contained in:
Supravisor
2025-03-12 07:12:49 +13:00
committed by GitHub
parent dac10dfda3
commit f5bd10f2d6
@@ -13,7 +13,7 @@ Now you are going to use the `__init_subclass__` method to check if the child cl
Create an `if` statement to check if `cls` does not have a `degree` attribute. If so, raise an `AttributeError` and use the string `f"Cannot create '{cls.__name__}' class: missing required attribute 'degree'"` to provide a custom message.
After that, fix the error that has appeared in the terminal by declaring a `degree` class attribute inside the `LinearEquation` class. This attribute should represent the degree of the equation, which is the exponent of the highest \\( x \\) term. Therefore, assign the integer `1` to the `degree` atttribute.
After that, fix the error that has appeared in the terminal by declaring a `degree` class attribute inside the `LinearEquation` class. This attribute should represent the degree of the equation, which is the exponent of the highest \\( x \\) term. Therefore, assign the integer `1` to the `degree` attribute.
# --hints--