Time:10-12
CodePudding user response:
a='hello' B='good bye bye you Def func (a, b) : Return the set (the list (a)). Issubset (set (the list (b))) Print (func (a, b))
directly with members of the test is not just a matter of, > A='hello' > B='good bye bye you > A in b False > C='no hello lonely' > A in c True
disorderly, is testing in a single word, or testing Chinese string Use the collection may be the emphasis in the Chinese to filter, For example: > Def func (a, b) : . Return the set (the list (a)). Issubset (set (the list (b))) . > A='round' > B='there is a comb on the old round table' > Func (a, b) True
Page link:https//www.codepudding.com/other/63884.html