# 独学プログラマー

# 分割
print('wow, fantastic!'.split('a'))

# 結合
word = ['denso', 'crafting', 'the', 'core']
result = ' '.join(word)
print(result)

# 置換
word2 = 'denso crafting the core'
result2 = word2.replace('o', '!')
print(result2)

# 文字検索
print('amadana'.index('d'))

# 包含
print('x' in 'Cat in the hat.')