Challenge: Find All
Opgave
Swipe to start coding
You will work with the following page.
- Print the first
<div>
tag using the function.find()
of the objectsoup
. - Print the instances of
<p>
tags where theid
attributes are equal to"id0"
using the function.find_all()
of thesoup
object.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 6
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Awesome!
Completion rate improved to 4.35Awesome!
Completion rate improved to 4.35
Challenge: Find All
Opgave
Swipe to start coding
You will work with the following page.
- Print the first
<div>
tag using the function.find()
of the objectsoup
. - Print the instances of
<p>
tags where theid
attributes are equal to"id0"
using the function.find_all()
of thesoup
object.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 6
single
Awesome!
Completion rate improved to 4.35
Challenge: Find All
Stryg for at vise menuen
Opgave
Swipe to start coding
You will work with the following page.
- Print the first
<div>
tag using the function.find()
of the objectsoup
. - Print the instances of
<p>
tags where theid
attributes are equal to"id0"
using the function.find_all()
of thesoup
object.
Løsning
Var alt klart?
Tak for dine kommentarer!