def removed_participants(original_participants, update_participants):
 original_table = {part['email']: part.get('name') for part in original_participants if ('email' in part)}
 update_table = {part['email']: part.get('name') for part in update_participants if ('email' in part)}
 ret = []
 for email in original_table:
  if (email not in update_table):
   ret.append(dict(email=email, name=original_table[email]))
 return ret

def removed_participants ( original_participants , update_participants ) : original_table = { part [ 'email' ] : part . get ( 'name' ) for part in original_participants if ( 'email' in part ) } update_table = { part [ 'email' ] : part . get ( 'name' ) for part in update_participants if ( 'email' in part ) } ret = [ ] for email in original_table : if ( email not in update_table ) : ret . append ( dict ( email = email , name = original_table [ email ] ) ) return ret
returns the name and addresses of the participants which have been removed .