Hi,

This is the code I wrote for the train_val_split function in assignment 1, but I got 0 points. The output of my function is also the same as the expected output. Could you tell me where I’m going wrong?

SPLIT_TIME = 1100

def train_val_split(time, series, time_step=SPLIT_TIME):

```
### START CODE HERE
time_train = time[:SPLIT_TIME]
series_train = series[:SPLIT_TIME]
time_valid = time[SPLIT_TIME:]
series_valid = series[SPLIT_TIME:]
### END CODE HERE
return time_train, series_train, time_valid, series_valid
```

Thank you