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# - Pausing a storyboard on TabItem mouse over -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -