Algorithm For Simple Calculator Using Python