Tuples are immutable, so by creating a copy, we can reverse it.
- def Reverse(tuples):
- new_tup = tuples[::-1]
- return new_tup
- tuples = (1,2,3,4,5,6,7,8,9)
- print(Reverse(tuples))
Know the answer? Post it. Somebody with the same question will find it here.

Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Jul 10, 2021, 5:07 AM EDT