def one_hot_encode(label):
    """One-Hot Encoding.
    This function given a label - "red", "green", or "yellow",
    returning a one-hot encoded label.
    One-Hot Encode of "red"    return: [1, 0, 0]
    One-Hot Encode of "yellow" return: [0, 1, 0]
    One-Hot Encode of "green"  return: [0, 0, 1]
    """
    # Init Variable
    one_hot_encoded = []
    
    # Processing
    if label   == "red":
        one_hot_encoded = [1, 0, 0]
    elif label == "yellow":
        one_hot_encoded = [0, 1, 0]
    elif label == "green":
        one_hot_encoded = [0, 0, 1]
    else:
        one_hot_encoded = [0, 0, 0]
        
    # Return result
    return one_hot_encoded