def red_channel(image): 
    """
    Changes the image as follows:
    For every pixel, set green and blue values to 0, yielding the red channel.
    Return the changed image.
    """
    for pixel in image:
        pixel.green = 0
        pixel.blue = 0
    return image