Vitaliy_Novichikhin

6.14.4 Верное решение

Feb 5th, 2022 (edited)
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. julia_songs = [145678, 297863, 966387, 374981, 746397, 197638]
  2. mary_songs = [576093, 197638, 736901, 297863, 374981, 871532]
  3.  
  4. mary_julia_songs = []
  5.  
  6. # ваш код здесь
  7. for i in julia_songs:
  8. #    for j in mary_songs:
  9.      if i in mary_songs:
  10. #     if i == j:
  11.         mary_julia_songs.append(i)
  12.  
  13. print(mary_julia_songs)
Add Comment
Please, Sign In to add comment