def test_status():
 status = input('Did the plot(s) display correctly? (y/n) ')
 while (not status.startswith(('y', 'n'))):
  print('')
  status = input('Unexpected answer. Please type y or n. ')
 if status.startswith('n'):
  ErrorReport = input('Please describe the problem: ')
  return ErrorReport

def test_status ( ) : status = input ( 'Did the plot(s) display correctly? (y/n) ' ) while ( not status . startswith ( ( 'y' , 'n' ) ) ) : print ( '' ) status = input ( 'Unexpected answer. Please type y or n. ' ) if status . startswith ( 'n' ) : ErrorReport = input ( 'Please describe the problem: ' ) return ErrorReport
collect user input to determine if a file displayed correctly or incorrectly .