The code here works the same but I made some cosmetic changes to bring it to PEP8 standard, mostly improving readability for standard 80-column editing. I put parentheses around print statements and changed parameter input to .format() style, setting the stage for easier conversion to Python3.
The code here works the same but I made some cosmetic changes to bring it to PEP8 standard, mostly improving readability for standard 80-column editing. I put parentheses around print statements and changed parameter input to .format() style, setting the stage for easier conversion to Python3.