a simple Python calculator