Improved output of example print_invalid_values.py.