def print_sensors(sensor_list):
    """
    Prints the sensor list into a table

    Args:
        sensor_list: The sensor list to print
    """
    sensor_line_format = (
        '  {:25s} | {:10s} | {:8s} | {:8s} | {:8s} | {:8s} | {:8s} | {:8s} | {:8s}'
        )
    for chassis in sensor_list:
        print("Chassis '" + chassis['ChassisName'] + "' Status")
        print(sensor_line_format.format('Sensor', 'Reading', 'Health', 'LF',
            'LC', 'LNC', 'UNC', 'UC', 'UF'))
        for reading in chassis['Readings']:
            reading_pr = {}
            for item in reading:
                if item == 'Name':
                    reading_pr['Name'] = reading['Name'][:25]
                elif item == 'Reading':
                    if reading['Reading'] is None:
                        reading_pr['Reading'] = 'Unknown'
                    else:
                        reading_pr['Reading'] = str(reading['Reading'])
                        if reading['Units'] is not None:
                            reading_pr['Reading'] = reading_pr['Reading'
                                ] + reading['Units']
                    reading_pr['Reading'] = reading_pr['Reading'][:10]
                elif item == 'Units':
                    if reading['Units'] is None:
                        reading_pr['Units'] = ''
                elif reading[item] is None:
                    reading_pr[item] = 'N/A'
                else:
                    reading_pr[item] = str(reading[item])
            print(sensor_line_format.format(reading_pr['Name'], reading_pr[
                'Reading'], reading_pr['Health'], reading_pr['LowerFatal'],
                reading_pr['LowerCritical'], reading_pr['LowerCaution'],
                reading_pr['UpperCaution'], reading_pr['UpperCritical'],
                reading_pr['UpperFatal']))
        print('')
