Duvida

Nao entendi de onde veio "232" resultante da linha 9.
 avatar
unknown
python
4 years ago
291 B
7
Indexable
import urllib.request 
page = urllib.request.urlopen("http://beans.itcarlow.ie/prices.html")
text = page.read().decode("utf8")
price = text.find(">$")
start_of_price = price + 2
end_of_price = price + 6
preco = text[start_of_price:end_of_price]
print(text)
print(price)
print(preco)
Editor is loading...