Update lib.py · attakei/Python@63b2c4e · GitHub
Skip to content

Commit 63b2c4e

Browse files
authored
Update lib.py
replaced size() with __len__ built-in changed self.__components = components to self.__components = list(components) replacing for loops with list comprehension allowing -ve indexing in component() and changeComponent()
1 parent 70a6d98 commit 63b2c4e

1 file changed

Lines changed: 26 additions & 61 deletions

File tree

  • linear_algebra_python/src

linear_algebra_python/src/lib.py

Lines changed: 26 additions & 61 deletions

0 commit comments

Comments
 (0)