Advertisement
Mofeoluwa

Untitled

Feb 22nd, 2020
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. def long_word_in_collection(list,string):
  2.     sage = "TRUE" if string in list and len(string)>4 else "FALSE" #if the string is in the list and its length is more than 4
  3.     print(sage)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement