cara menggunakan fungsi prettiftify di python

print(doc.prettify())
# Here doc is an HTML file that I want to prettify
Prashasti Gupta