Write a Python program to reverse a tuple


Topic: Write a Python program to reverse a tuple

Solution

aTuple = (10, 20, 30, 40, 50)
aTuple = aTuple[::-1]
print(aTuple)



List all Python Programs