PyZombis reto_02_en@5218f43
Social
Runestone in social media:
Follow @iRunestone
Our Facebook Page
Help support us:
Search
Table of Contents
Book Index
User
Assignments
Practice
Change Course
Instructor's Page
Progress Page
Edit Profile
Change Password
Register
Login
Dark Mode
Scratch Activecode
Help
FAQ
Instructors Guide
About Runestone
Report A Problem
6.
Solo cuando es inferior a 4,74
¶
from urllib.request import urlopen URL_PRECIOS_LOYALTY = "https://api.allorigins.win/raw?url=http://beans.itcarlow.ie/prices-loyalty.html" pagina = urlopen(URL_PRECIOS_LOYALTY) texto = pagina.read() ubicacion = texto.find(">$") inicio = ubicacion + 2 fin = inicio + 4 if texto[inicio:fin] < 4.74: print(texto[inicio:fin])
You have attempted
of
activities on this page