def parameter_tuple_parser(parameter_tuple, code_list, relative_base):
    """
    Accepts parameter_tuple, code_list, and relative_base.  Returns parameter for use in intcode operation.
    """

    if parameter_tuple[0] == 0:
        return code_list[parameter_tuple[1]]
    elif parameter_tuple[0] == 1:
        return parameter_tuple[1]
    elif parameter_tuple[0] == 2:
        return code_list[parameter_tuple[1] + relative_base]
    else:
        print('And I oop.... parameter_tuple_parser')