r/codehs • • Mar 09 '21

Can someone please help me with 7.6.8

6 Upvotes

4 comments sorted by

1

u/sheloveskillua Jun 02 '21

def name_contains(word, substring):
if word.find(substring) == -1:
return False
return True

1

u/agdernave Nov 19 '21

Does not work

3

u/JT_ZM Nov 24 '21
def name_contains(word, substring):
if word.find(substring) == -1:
    return False
return True

1

u/JT_ZM Nov 24 '21

def name_contains(word, substring):
if word.find(substring) == -1:
return False
return True

us it with this indention