A simple Python calculator