Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = [('We', 'PRP'), ("'re", 'VBP'), ('really', 'RB$'), ('sorry', 'JJ'), ('...', ':')]
- x_2[x.index(':')] = 'Dts'
- x_2[x_2.index[,('$')]] = 'S'
- x_2 = [('We', 'PRP'), ("'re", 'VBP'), ('really', 'RBS'), ('sorry', 'JJ'), ('...', 'Dts')]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement