<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def print_input_output(opts):
 """ Prints the input and output directories to the console. :param opts: namespace that contains printable 'input' and 'output' fields. """

    if opts.is_dir:
        print("Root input directory:\t" + opts.input)
        print("Outputting to:\t\t" + opts.output + "\n")
    else:
        print("Input file:\t\t" + opts.input)
        print("Outputting to:\t\t" + opts.output + opts.input + "\n")