Python split Function

Python split() method divide a string based on specified separator. split(sep,num):    sep: separator, character or string    num: split times

>>> x = 'Perschon Python Tutorial'
>>> x.split('th')
['Perschon Py', 'on Tutorial']
>>> x.split('o')
['EndMem', ' Pyth', 'n Tut', 'rial']
>>> x.split('o',1)
['EndMem', ' Python Tutorial']