'''
write a function that has two string parameters s1 and s2, and returns
true if if s1 contains s2
'''
s1 = 'rainbow'
s2 = 'bow'
expected = True
def contains(s1, s2):
# write your code here
result = s2 in s1
return result
actual = contains(s1, s2)
print(actual == expected)
JycnCndyaXRlIGEgZnVuY3Rpb24gdGhhdCBoYXMgdHdvIHN0cmluZyBwYXJhbWV0ZXJzIHMxIGFuZCBzMiwgYW5kIHJldHVybnMKdHJ1ZSBpZiBpZiBzMSBjb250YWlucyBzMgonJycKczEgPSAncmFpbmJvdycKczIgPSAnYm93JwpleHBlY3RlZCA9IFRydWUKCmRlZiBjb250YWlucyhzMSwgczIpOgogICAgIyB3cml0ZSB5b3VyIGNvZGUgaGVyZQogICAgcmVzdWx0ID0gczIgaW4gczEKICAgIHJldHVybiByZXN1bHQKICAKYWN0dWFsID0gY29udGFpbnMoczEsIHMyKQpwcmludChhY3R1YWwgPT0gZXhwZWN0ZWQp