►
Run
aTuple = (2, 5, 8, 1, 9, 3, 7) result = sorted(aTuple) result = tuple(result) print('Sorted Tuple :', result)
Output