Challenge: Find All
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 6
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 4.35Awesome!
Completion rate improved to 4.35
Challenge: Find All
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 6
single
Awesome!
Completion rate improved to 4.35
Challenge: Find All
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!