console calculator written in Python