Hi, I don’t get the usage of the str.replace(’\s+’, ’ ') in the page below.
What is the role of that code?
Check the image below. I don’t see any difference between out and out . I just tried to break it down, I just copied and paste it from Dataquest.