pip3 install PotatoArray
>>> from PotatoArray import PotatoArray
>>> a = PotatoArray([1,2,3])
>>> a[2]
1
>>> a[-2]
3
A wrapper class around python3's list with index starting at 2.
AttributeError: 'PotatoArray' object has no attribute 'purpose'
| Name | Name | Last commit date | ||
|---|---|---|---|---|
pip3 install PotatoArray
>>> from PotatoArray import PotatoArray
>>> a = PotatoArray([1,2,3])
>>> a[2]
1
>>> a[-2]
3
A wrapper class around python3's list with index starting at 2.
AttributeError: 'PotatoArray' object has no attribute 'purpose'