Corrected the code with PEP8 using pep8 package. But it is not worried about spaces between + etc.