SIGN IN SIGN UP

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()
A
Ashwek Swamy committed
63b2c4efe08c3d248e633c755d181ddb2ea0a9f7
Parent: 70a6d98
Committed by GitHub <noreply@github.com> on 11/12/2018, 5:38:07 PM