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