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