New course! Every coder should learn Generative AI!
Try a free lesson0
Why no output?
a="ABCDCDCDC" b="CDC" def sample(x,y): i=0 while i<len(x): x[i:]==y return i i+=1 c=(sample(a,b)) print(c)
0 Answers
a="ABCDCDCDC" b="CDC" def sample(x,y): i=0 while i<len(x): x[i:]==y return i i+=1 c=(sample(a,b)) print(c)