niromru

Муза дальних странствий

Dec 26th, 2020 (edited)
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. a = input()
  2. b = input().split('; ')
  3. v = ''
  4. for i in b:
  5.     if len(list(set(i) & set(a))) > 7:
  6.         v += i + ' @ '
  7. print(v[:-3])
  8.  
Add Comment
Please, Sign In to add comment