<html><head><title>Welcome to the Beans'R'Us Pricing Page</title>

<link rel="stylesheet" type="text/css" href="beansrus.css" />

</head><body>

<h2>Welcome to the Beans'R'Us Pricing Page</h2>

<p>Current price of coffee beans = <strong>$5.51</strong></p>

<p>Price valid for 15 minutes from Wed Mar 25 09:55:34 2015.</p>

</body></html>



여기서 태그들을 다사라지게 출력하고싶은데 어떻게 해야되요?


for line in text:

    print(line.strip('<>'),end='')


여기다 뭔가 더해야할거같은데