s1 = input("enter 1st string: ")
s2 = input("enter 2nd string: ")
if s2 in s1:
print("found")
else:
print("not found")
simply i want to say if i give some input to s1 and not give anything as input to s2 and press enter, Output of this code print "found" which is wrong because blank is not in my string s1, So why it is happening? and how to correct it?