Complete the code to define a quadruple with operation and operands.
quadruple = ([1], 'x', 'y', 'z')
The first element in a quadruple is the operation (op) to be performed.
Complete the code to create a triple representing an addition operation.
triple = ([1], 'a', 'b')
In triples, the first element is the operation (op) such as '+'.
Fix the error in the quadruple definition to correctly represent the operation.
quadruple = ('+', [1], 'y', 'z')
The second element in a quadruple is the first operand, often named 'x'.
Fill both blanks to complete the triple representing multiplication.
triple = ([1], [2], 'c')
The operation is '*', and the first operand is 'a' in this triple.
Fill all three blanks to create a quadruple for subtraction with correct operands and result.
quadruple = ('-', [1], [2], [3])
The quadruple format is (operation, operand1, operand2, result). Here, 'x' and 'y' are operands and 'result' stores the output.
