def something(string1, string2):
return True if string2 in string1 else False
This would be the most concise way of writing this function.
8.6m questions
11.3m answers