Implement a Vec class whose instances work with print, ==, len, indexing, slicing and iteration by defining the special methods Python calls for those operations.
Keywords
python-oop
Python
Run your code to see results
No results yet
Run your code to check it against the examples, or submit to run every test.