how to make a list object split in python code example
Example 1: python split list
string = 'this is a python string'
wordList = string.split(' ')
Example 2: how to split word in python
text= "I am Batman"
splitted_text= text.split()
Print(splitted_text)