Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = []
- for pos in data[0]:
- if pos == x:
- a.append(data[1][data[0].index(pos)])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement