'''
1. str.lower() and str.upper()
2. str.split(sep=none)
3. str.count(subString)
4. str.replace(old, new)
5. str.center(width, fillChar)
6. str.strip(charsequence)
7. str.join(str)

8. + and *
9. len(str)
10. str(num)
11. hex("111") and oct("22")
12 ord() and chr()

'''

print("== I love = python ==".strip('='))
print("I love python".split(' '))
print("I love python".center(20, '*'))
print("I love c++".replace('c++','python'))
print("[1,2,3,4,]".replace(',]', ']'))

