← HTTP and APIs
Parse a URL
① Learn
URLs have parts like the scheme, host, and path. urllib.parse.urlparse() breaks a URL into those pieces.
② Implement — write it, run it, submit
Goal
Make `path` equal `/playlists/top`.
Output
Hints
- Stuck? Reveal a hint.