fullstring = "StackAbuse"
substring = "tack"
if substring in fullstring:
print("Found!")
else:
print("Not found!")
# Output - Found!
fullstring = "StackAbuse"
substring_2 = "abuse"
if substring_2 in fullstring:
print("Found!")
else:
print("Not found!")
# Output - Not found!
# (Remember this is case-sensitive)