Minimize class method with class attributes as parameters
- It is just a type hint. Python is not strongly typed. Using int
or float
will not raise an exception. - 13 is the result of get value with initial value given in c = Conic(0, 0,)
, therefore get_value()
will calculate (0 - 2)^2 + (0 + 3)^2 = 4 + 9 = 13
. - calibrate
does nothing as that is the function I don't know how to code. And there should be the code that "finds" x = 2
, y = -3
.