Before We Begin


The error message is make sure answer() takes no input

def answer(n):
    print '42'
    return '42'


Error message means that there should be no parameter/input in answer(). I see a n which is your parameter/input in answer.


Got it. Make sure the there is nothing between ()
This code works:

def answer():
return 42


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