Unable to return or print anything to the console window



I am trying to figure out how we are supposed to work through errors in our code to figure out what is going on with our code when trying to sole problems when the Codecademy (for at least this problem) does not print or return ANYTHING to the console window? How are we supposed to troubleshoot if we cant even see what is going on?

I expect 'Good job' to print to the console window. Instead I get 'None'

def digit_sum(n):
    print 'Good job'


May we assume that you are calling the function?

digit_sum(1)    # Good job


Aye. Turned out to be something on my end (comp)

Thank you though.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.