<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def save(store, *args, **kwargs):
 """Convenience function to save an array or group of arrays to the local file system. Parameters store : MutableMapping or string Store or path to directory in file system or name of zip file. args : ndarray NumPy arrays with data to save. kwargs NumPy arrays with data to save. Examples -------- Save an array to a directory on the file system (uses a :class:`DirectoryStore`):
: Save an array to a Zip file (uses a :class:`ZipStore`):
: Save several arrays to a directory on the file system (uses a :class:`DirectoryStore` and stores arrays in a group):
: <LazyLoader: arr_0, arr_1> Save several arrays using named keyword arguments:: <LazyLoader: bar, foo> Store several arrays in a single zip file (uses a :class:`ZipStore`):
: <LazyLoader: bar, foo> See Also -------- save_array, save_group """

    if len(args) == 0 and len(kwargs) == 0:
        raise ValueError('at least one array must be provided')
    if len(args) == 1 and len(kwargs) == 0:
        save_array(store, args[0])
    else:
        save_group(store, *args, **kwargs)