I have a dataset and ,when I am encountering an emoticons without any space , I want to place space around them but I don't know few things
I have this list
sentences=["HiRob","swiggy",""].
how to compare them as they are stored as strings.
How to put spaces around them?
Desired output
sentences=["HiRob ","swiggy"," "]
My basic problem is to put spaces around them.