human
write data into pickles.
assistant
Here is a Python code to write data into pickles

import pickle

def write_pickle(data, file_name):
    """
    Write data into a pickle file.

    Args:
        data (object): The data to be written.
        file_name (str): The file name.
    """
    with open(file_name, 'wb') as f:
        pickle.dump(data, f)

# Enter the data
data = "Hello World"

# Enter the file name
file_name = "test.pkl"

# Calling the function
print((write_pickle(data, file_name)))

#Example Output
# None

#Remember to inspect code for bugs.