{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}


superstrings - new.append(i return(new...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#Tom Pampalone #CS-100 HW 5 #2 #11/29/10 def findSuperStrings(lists, value): new = [] for i in lists: if i.find(value) > -1:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: new.append(i) return(new) print(findSuperStrings(['a', 'bc', 'abc'], 'a'))...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online