Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def long_word_in_collection(list,string):
- 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
- print(sage)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement