This is bad code, no?


def input_output_mapping(output):
    # if indicator is on
    return (output[0][1]) # why the parentheses?
    # if indicator is off
#     return (output[0][0])

Especially, when you have to comment in/out depending on other parts of the code?