Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. a=['Ozil', 'Silva', 'De Bruyne', 'Mane', 'Firmino']
  2.  
  3. def long_word_collection(x,y):
  4.     print (y in x and len(y)>4)
  5. long_word_collection(a, 'Ozil')
  6. long_word_collection(a, 'Silva')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement