Guest User

Untitled

a guest
Oct 15th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. tupX = ("moose", 12, 1.98, "table", 7)
  2. listX = list(tupX)
  3.  
  4. listX = [e.replace(1, "elevator")for e in listX]
  5. tupY = tuple(listX
  6.  
  7. print(tupY)
Add Comment
Please, Sign In to add comment