0

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)

23rd Mar 2020, 10:29 AM
Amey Godse
Amey Godse - avatar
1 Answer