1. Before We Begin



Your code looks a bit off. Check the Hint if you need help! Your code threw the following error: invalid syntax (python, line 1)

def answer
    return 42


Seems like you're forgetting some python syntax.
Here's an example.

def function():
    return "foo"

You need a : after your def and if your function doesn't need parameter(s), then you just put brackets with nothing inside.


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