Using Python as the most powerful calculator