That peculiar. Could you post your class Point again?
I dont that error message, and see the expected behaviour.
I dont that error message, and see the expected behaviour.
b = Point(0.5, 3, -7)
Output:Traceback (most recent call last):
File "main.py", line 41, in <module>
b = Point(0.5, 3, -7)
File "main.py", line 4, in __init__
self.x = x
File "main.py", line 17, in x
raise AttributeError("x must be an integer")
AttributeError: x must be an integer
exited with non-zero status