103k views
0 votes
Implement a function getContent() that takes as input a URL (as a string) and prints only the text data content of the associated web page (i.e., no tags). Avoid printing blank lines that follow a blank line and strip the whitespace in every line printed.

User Polpetti
by
4.8k points

1 Answer

6 votes
Print is good but url is not
User Kingjeffrey
by
5.3k points