def drop_cols(df, cols):
    """
    Removes from the input dataframe the columns indicated in args argument.
    Prints error message if columns can't be dropped.

    Parameters:
    _________________
    input_df: dataframe containing columns to be removed
    cols:     (list) columns to be removed

    Returns:
    _________________
    df_after_drop: dataframe with desired columns dropped, if no exception raised
    """
    try:
        for col in cols:
            df = df.drop(col)
            print('The DataFrame after dropping columns is:')
            df.show()
        return df
    except:
        print("Something went wrong... make sure column names provided are in dataframe")
        return