Question: html problem and we do use python. 1. Write code to pretty print the soup. 2. What does BeautifulSoup convert HTML to when it loads

 html problem and we do use python. 1. Write code to

html problem and we do use python.

1. Write code to pretty print the soup.

2. What does BeautifulSoup convert HTML to when it loads it in as soup?

What encoding does it use for output?

html doc = " " "

The Dormouse's story

The Dormouse's story

Once upon a time there were three little sisters; and their names were Elsie, Lacie and Tilliec/a>; and they lived at the bottom of a we11.

""" from bs4 import BeautifulSoup soup - BeautifulSoup (html doc, 'html parser)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!