I have the function:
def make_happiness_table("word-happiness.csv"):
''' make_happiness_table: string -> dict
creates a dictionary of happiness scores from the given file '''
return {}
But I keep getting a syntax error when trying to run the program.
File "happiness.py", line 13
def make_happiness_table("word-happiness.csv"):
^
SyntaxError: invalid syntax
How can I fix this?
try: