Answer :
Answer:
lst=["H", "wor", "o w"]
s='Hello world'
contains = True
for i in range (0, len(lst)):
if not lst[i] in s:
contains = False
break
Explanation:
Above code works fine if you make sure that identation is correct.
Answer:
lst=["H", "wor", "o w"]
s='Hello world'
contains = True
for i in range (0, len(lst)):
if not lst[i] in s:
contains = False
break
Explanation:
Above code works fine if you make sure that identation is correct.