Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Attributes | Working with Element Attributes in Beautiful Soup
Web Scraping with Python

Sveip for å vise menyen

book
Challenge: Attributes

Oppgave

Swipe to start coding

You will work on the page about Christ the Redeemer as in the previous task.

  1. Print the attributes of the first <p> tag.
  2. Print only the text of the first <ul> tag.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 2

Spør AI

expand
ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

book
Challenge: Attributes

Oppgave

Swipe to start coding

You will work on the page about Christ the Redeemer as in the previous task.

  1. Print the attributes of the first <p> tag.
  2. Print only the text of the first <ul> tag.

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 2
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt