Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2016
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. id
  2. 30046
  3. 30049
  4. 30040
  5. 30046
  6.  
  7. id mail
  8. 30049 natusya_89_2009@mail.ru
  9. 30046 fresh_tea@mail.ru
  10. 30040 sedoi7072@mail.ru
  11.  
  12. id
  13. fresh_tea@mail.ru
  14. natusya_89_2009@mail.ru
  15. sedoi7072@mail.ru
  16. fresh_tea@mail.ru
  17.  
  18. for (id1, id2, mail) in zip(ids1, ids2, mails):
  19. if id1 == id2:
  20. ids1.replace(id1, mail)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement