Advertisement
muhammad_nasif

TASK_06

Apr 12th, 2021
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. tpl = ('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h')
  2.  
  3. newList = list(tpl)
  4.  
  5. newList.reverse()
  6.  
  7. tpl = tuple(newList)
  8.  
  9. print(tpl)
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement