Aan de slagGa gratis aan de slag

Fixing an issue

You know where the error occurred in this code, but what should you do to fix it? The requests module has been imported for you to use. As a developer, you'll often use the requests module to get data from websites.

Run the following code in the console to check the error:

requests.get(url="https://app.datacamp.com", content=True)

Deze oefening maakt deel uit van de cursus

Intermediate Python for Developers

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen