human
Give me a Python code to write a file change text color.
assistant
Here is a Python code to write a file change text color

import sys

def write_file_change_color(file, text, color):
    """Write a file and change text color.

    Args:
        file (str): Path to file
        text (str): Text to write
        color (str): Color to change text to
    """
    with open(file, 'w') as f:
        f.write(text)
        f.write(color)

# Enter the file name
file ="orange automobil"

# Enter the text
text ="red airplane"

# Enter the color
color ="orange automobil"

# Calling the function
print((write_file_change_color(file, text, color)))

#Example Output
# None

#Remember to inspect code for bugs.