Solution: Delete a To-Do Item

See the solution to expanding the to-do command-line tool by allowing users to delete items from the list.

We'll cover the following

Solution explanation

We first introduce a del flag, which will be used to delete items as well.

Get hands-on with 1200+ tech skills courses.