So I tried using join()
after splitting a string into words and punctuation but it joins the string with a space in between the word and punctuation.
b = ['Hello', ',', 'who', 'are', 'you', '?']
c = " ".join(b)
But that returns:
c = 'Hello , who are you ?'
and I want:
c = 'Hello, who are you?'