Vitaliy_Novichikhin

6.14.4 НЕверное решение, которое принимается

Feb 5th, 2022 (edited)
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 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.     if i == mary_songs in julia_songs:
  9.         mary_julia_songs.append(i)
  10.  
  11. print(mary_julia_songs)
Add Comment
Please, Sign In to add comment