Python calculator example python 3 support with PEP8 formatting.