Challenge: Grocery List Organizer
Swipe to start coding
Practice your skills with lists by building a program that organizes a grocery list. You will write a function that takes an initial list of grocery items, adds new items, removes specified items, sorts the list, and returns the final sorted list.
- Add all items from the
itemsToAddlist to the grocery list. - Remove all items from the
itemsToRemovelist from the grocery list. - Sort the grocery list in ascending order.
- Return the sorted grocery list.
Lösung
Danke für Ihr Feedback!
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Großartig!
Completion Rate verbessert auf 4.76
Challenge: Grocery List Organizer
Swipe um das Menü anzuzeigen
Swipe to start coding
Practice your skills with lists by building a program that organizes a grocery list. You will write a function that takes an initial list of grocery items, adds new items, removes specified items, sorts the list, and returns the final sorted list.
- Add all items from the
itemsToAddlist to the grocery list. - Remove all items from the
itemsToRemovelist from the grocery list. - Sort the grocery list in ascending order.
- Return the sorted grocery list.
Lösung
Danke für Ihr Feedback!
single