# your code goes here
'''
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)
IyB5b3VyIGNvZGUgZ29lcyBoZXJlCicnJwp3cml0ZSBhIGZ1bmN0aW9uIHRoYXQgaGFzIHR3byBzdHJpbmcgcGFyYW1ldGVycyBzMSBhbmQgczIsIGFuZCByZXR1cm5zCnRydWUgaWYgaWYgczEgY29udGFpbnMgczIKJycnCnMxID0gJ3JhaW5ib3cnCnMyID0gJ2JvdycKZXhwZWN0ZWQgPSBUcnVlCgpkZWYgY29udGFpbnMoczEsIHMyKToKICAgICMgd3JpdGUgeW91ciBjb2RlIGhlcmUKICAgIHJlc3VsdCA9IHMyIGluIHMxCiAgICByZXR1cm4gcmVzdWx0CiAgCmFjdHVhbCA9IGNvbnRhaW5zKHMxLCBzMikKcHJpbnQoYWN0dWFsID09IGV4cGVjdGVkKQ==