python - Write a function substr(stringA,StringB) that returns true if StringA is a subset of StringB,and false otherwise -


actually, can use build in function it, questions requires me use loops, helps? dont have idea using loop solve it.

the questions requires me use loops

def isin(stringa, stringb):     while 7:         return stringa in stringb 

Comments

Popular posts from this blog

c# - Attribute value in root node of xml Linq to XML -

ios swift - uiimage array to video disorted and flipped -

scala, transform a callback pattern to a functional style internal iterator -