<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_sync_binding_cmds(self, switch_bindings, expected_bindings):
 """Returns the list of commands required to synchronize ACL bindings 1. Delete any unexpected bindings 2. Add any missing bindings """

        switch_cmds = list()

        # Update any necessary switch interface ACLs
        bindings_to_delete = switch_bindings - expected_bindings
        bindings_to_add = expected_bindings - switch_bindings
        for intf, acl, direction in bindings_to_delete:
            switch_cmds.extend(['interface %s' % intf,
                                'no ip access-group %s %s' %
                                (acl, direction),
                                'exit'])
        for intf, acl, direction in bindings_to_add:
            switch_cmds.extend(['interface %s' % intf,
                                'ip access-group %s %s' % (acl, direction),
                                'exit'])
        return switch_cmds