I want to split the string on multiple spaces but not on single space.
I have tried string.split() but it splits on every single space
here is my code
string='hi i am kaveer and i am a student'
string.split()
i expected the result
['hi i am','kaveer','and i am a','student']
but actual result is
['hi','i','am','kaveer','and','i','am','a','student']