Loading...
Implement a Vector class with magic methods for arithmetic operations.
Python magic methods enable operator overloading:
Create a Vector class that supports:
Vector([1, 2, 3]) + Vector([4, 5, 6])
Vector([5, 7, 9])
Element-wise: 1+4=5, 2+5=7, 3+6=9