Nov-26-2018, 05:33 AM
Always post the error traceback in it's entirity and unmodified.
This code should run fine in python 2.7
in python 3, you have to modify the print statement to:
FIY: indentation should be 4 spaces, as per PEP8.
This code should run fine in python 2.7
in python 3, you have to modify the print statement to:
print(result).
FIY: indentation should be 4 spaces, as per PEP8.