Answers for "python split two words"

10

python split sentence into words

sentence = 'Hello world a b c'
split_sentence = sentence.split(' ')
print(split_sentence)
Posted by: Guest on October-12-2020

Python Answers by Framework

Browse Popular Code Answers by Language