1from bs4 import BeautifulSoup
23my_HTML = #Some HTML file (could be a website, you can use urllib for that)45soup = BeautifulSoup(my_HTML, 'html.parser')
67print(soup.prettify())
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content