Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. x = [('We', 'PRP'), ("'re", 'VBP'), ('really', 'RB$'), ('sorry', 'JJ'), ('...', ':')]
  2.  
  3. x_2[x.index(':')] = 'Dts'
  4.  
  5. x_2[x_2.index[,('$')]] = 'S'
  6.  
  7. x_2 = [('We', 'PRP'), ("'re", 'VBP'), ('really', 'RBS'), ('sorry', 'JJ'), ('...', 'Dts')]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement