I am new to Python.
I am writing a Stack class (extending list class) to perform push and pop.
However, when I try to call 'len' function from super class, I got an error msg --
AttributeError: type object 'super' has no attribute 'len'
Please help!!!
Thanks in advance!!
-here is my code -...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.