<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def diff(actual, expected):
 """ normalize whitespace in actual and expected and return unified diff """

    return '\n'.join(list(
        difflib.unified_diff(actual.splitlines(), expected.splitlines())
    ))