(temperature, neutrons_produced_per_second, threshold)
return status_code
Assess and return status code for the reactor.

    :param temperature: value of the temperature (integer or float)
    :param neutrons_produced_per_second: neutron flux (integer or float)
    :param threshold: threshold (integer or float)
    :return: str one of: 'LOW', 'NORMAL', 'DANGER'

    - `temperature * neutrons per second` < 90% of `threshold` == 'LOW'
    - `temperature * neutrons per second` +/- 10% of `threshold` == 'NORMAL'
    - `temperature * neutron per second` is not in the above-stated ranges ==  'DANGER'
Assess and return status code for the reactor.
Assess and return status code for the reactor .
def fail_safe(temperature, neutrons_produced_per_second, threshold):
    """Assess and return status code for the reactor.

    :param temperature: value of the temperature (integer or float)
    :param neutrons_produced_per_second: neutron flux (integer or float)
    :param threshold: threshold (integer or float)
    :return: str one of: 'LOW', 'NORMAL', 'DANGER'

    - `temperature * neutrons per second` < 90% of `threshold` == 'LOW'
    - `temperature * neutrons per second` +/- 10% of `threshold` == 'NORMAL'
    - `temperature * neutron per second` is not in the above-stated ranges ==  'DANGER'
    """
    output = temperature * neutrons_produced_per_second
    operational_percentage = (output / threshold) * 100

    if operational_percentage < 90:
        status_code = 'LOW'
    elif operational_percentage <= 110:
        status_code = 'NORMAL'
    else:
        status_code = 'DANGER'

    return status_code
def fail_safe ( temperature , neutrons_produced_per_second , threshold ) : output = temperature * neutrons_produced_per_second operational_percentage = ( output / threshold ) * 100 if operational_percentage < 90 : status_code = 'LOW' elif operational_percentage <= 110 : status_code = 'NORMAL' else : status_code = 'DANGER' return status_code