python split string python code example Example: how to split word in python text= "I am Batman" splitted_text= text.split() Print(splitted_text)