I wanted to scrape this page and get the containt without whitespace.
```
import requests
from bs4 import BeautifulSoup
def getdat(url):
r = requests.get(url)
return r.text
newsurl = "https://www.msei.in/downloads/equity-reports/fii-dii-activities"
data = getdat(newsurl)
soup = BeautifulSoup(data, 'html.parser')
result = soup.findAll('tr')
for i in result:
print(i.text)
```
My requirment is get the text without the blankspace.How can I get the text without the blankspace?