+ 2
how i can make a function that give me True or False..?
I want do function (will call it is_contained(sub,lst)) and want to check if the sub is in the same sequence like lst ,like; is_contanied([1,2,3], [0,0,1,0,2,0,3]) True while .. is_contained ([1,2,3],[1,0,3,2]) False
2 Answers
+ 2
check this my code.
https://code.sololearn.com/ce2Da5ghWqba/?ref=app
+ 1
thank youđ