Gurus, I'm looking for definite examples (pardon me if I'm not clear
here) on Stack class...Somewha t like this :
class Stack(object):
def __init__(self__ )
self.__contents = []
and ad hoc implementation of a class based on number system like for
example somewhat like this
def __imult__(self, other):
self.__numerato r *= other.__numerat or
self.__denomina tor *= other.__denomin ator
here) on Stack class...Somewha t like this :
class Stack(object):
def __init__(self__ )
self.__contents = []
and ad hoc implementation of a class based on number system like for
example somewhat like this
def __imult__(self, other):
self.__numerato r *= other.__numerat or
self.__denomina tor *= other.__denomin ator
Comment