23. Given two strings,X and Y (length(x) >=1 ,length(y) <= 10000), find out if 'y' is contained in 'x'
X = input("Enter string X: ") Y = input("Enter string Y: ") if Y in X: print("YES") else: print("NO")
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment