Remove the Last Track in Python

Use Python pop() to remove the final track from a playlist, save the returned song, and print both the removed track and remaining list.

Python

Challenge overview

Format
Logic Puzzle
Category
Python
Difficulty
Beginner
pythonlistspopreturn-value

Keep practicing

More coding challenges