import random


def generate_doors(n):
    """
    Returns: a list of n random doors, one with a car behind it all others with Goats.
    """
    Doors = ["G" for i in range(n)]
    # choose a random place to put car behind
    Doors[random.randint(0, n-1)] = "C"
    return Doors