human
Write me a Python function to add a prefix to a list of strings in Python.
assistant
Here is a Python function to add a prefix to a list of strings

import urllib.parse

def add_prefix(prefix, list_of_strings):
    """Adds a prefix to a list of strings."""
    return [prefix + s for s in list_of_strings]

# Enter the prefix
prefix = "http://"

# Enter the list of strings
list_of_strings = ["rose", "bird", "submarine"]

# Calling the function
list_of_strings_with_prefix = add_prefix(prefix, list_of_strings)

# Printing the list of strings
print(list_of_strings_with_prefix)

#Example Output
# ['http://rose', 'http://bird', 'http://submarine']

#Remember to inspect code for bugs.