Splits the data into train and test sets

GRADED FUNCTION: split_data

def split_data(SOURCE_DIR, TRAINING_DIR, VALIDATION_DIR, SPLIT_SIZE):

“”"
Splits the data into train and test sets

Args:
SOURCE_DIR (string): directory path containing the images
TRAINING_DIR (string): directory path to be used for training
VALIDATION_DIR (string): directory path to be used for validation
SPLIT_SIZE (float): proportion of the dataset to be used for training

Returns:
None
“”"

START CODE HERE

pass

END CODE HERE

I dont know how to copy the data from PetImages to cats-vs-dogs. if i coped them how can i split them?

Please read the instructions in the markdown and ask a specific question.