Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tpl = ('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h')
- newList = list(tpl)
- newList.reverse()
- tpl = tuple(newList)
- print(tpl)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement