New pages

Jump to navigation Jump to search
New pages
Hide registered users | Hide bots | Show redirects
  • 15:52, 24 March 2025Unit test - start of reverse polish notation class (hist | edit) ‎[3,606 bytes]WikiSysop (talk | contribs) (Created page with "These are the two files, I made in class for unit test demo purposes. My original class in the file: ReversePolishCalc.py <pre> class ReversePolishCalc: def __init__(self): self.stack = list() def _checkstack(self, count): if len(self.stack) < count: raise IndexError("Stack does not contain enough elements to perform operaation") def push(self, vector): if isinstance(vector, (int, float, str)): vector = [...")