Unit 4 (Functions) : Taking a vacation (question 1: Before we begin)
The exercise says:
Write a function called answer that takes no arguments and returns the value 42.
Even without arguments, you will still need parentheses.
Don't forget the colon at the end of the function definition!
When I submit the code it says the following:
Oops, try again. Your code looks a bit off. Check the Hint if you need help! Your code threw the following error: expected an indented block (python, line 2)
This is my code:
def answer(): return 24.
I am not very sure about where I have made a mistake.