I have a list containing strings
list=["geeks for geeks","string1","string2","geeks"]
I want to check if "geek" is present in the list, if present fetch me the whole string from the list
if geek in list:
output :
geeks for geeks
geeks
how to achieve this?