'''

    built in methods

'''


# join
print('1. join() method')
list = ['h', 'e', 'l', 'l', 'o']
print(' print list')
print(list)
print(' join()ed list')
list2 = ''.join(list)
print(list2)
print()

print('2. replace(before, after)')
text = 'book'
print(text)
text2 = text.replace('b', 'c')
print(text2)
print()
