how to reverse an array of tuples code example Example: reverse a tuple python >>> x = (1, 2, 3, 4) >>> x = tuple(reversed(x)) >>> x (4, 3, 2, 1)