Avatar


rpn

RPN calculator in Python

Dec 17, 2019


A week ago, I did an interview for an R&D position in a company. Apart from some other technical and logical tasks, I was asked to implement a simple rpn calculator, with the basic operators: sum, subtraction, product, division and square root. For those who don’t know what an rpn is follows a brief description from the beginning. Infix notation Infix notation is the notation commonly used in arithmetical and logical formulae and statements. Read Moreā€¦