def drop_cols(train_X, val_X, cols):
    """Function to drop columns"""
    # copy data
    drop_train_X = train_X.copy()
    drop_val_X = val_X.copy()

    # drop columns
    drop_train_X = drop_train_X.drop(cols, axis=1)
    drop_val_X = drop_val_X.drop(cols, axis=1)
    
    return drop_train_X, drop_val_X