Why am I getting a syntax error on the first line of this code?

Solution 1:

Do need def in front of the function call?

def application(environ,start_response):