Commit Graph

5 Commits

Author SHA1 Message Date
Ashwek Swamy
737bb2c525
Update README.md 2018-11-12 23:38:08 +05:30
Ashwek Swamy
93e096f0c1
Update tests.py
changing tests.py according to changes in lib.py
and replaced A.__str__() with str(A)
2018-11-12 23:34:31 +05:30
Ashwek Swamy
b2b34e2cda
Update lib.py
providing default value to components parameter of  __init__()
2018-11-12 23:33:22 +05:30
Ashwek Swamy
63b2c4efe0
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()
2018-11-12 23:08:07 +05:30
Alex Brown
564179a0ec increment 1 2018-10-19 07:48:28 -05:00