Challenge: To-Do List Organizer
Oppgave
Swipe to start coding
Write a Python script to manage a to-do list using a list. The script should allow you to add tasks, remove tasks, and display the current list of tasks.
- Add a task by inserting it into the
taskslist. - Remove a task by deleting it from the
taskslist if it exists. - Display the current list of tasks by printing the
taskslist.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 3
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 5.56
Challenge: To-Do List Organizer
Sveip for å vise menyen
Oppgave
Swipe to start coding
Write a Python script to manage a to-do list using a list. The script should allow you to add tasks, remove tasks, and display the current list of tasks.
- Add a task by inserting it into the
taskslist. - Remove a task by deleting it from the
taskslist if it exists. - Display the current list of tasks by printing the
taskslist.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 3
single