Task: Processing the Restock of Inventory
Swipe to start coding
The team at Café Pandasia has completed a fresh restock of coffee beans! You’ve been given two Series:
previous_inventory: The original stock before the deliveryrestocked: The number of units added during the restock
You’ve been asked to calculate the total updated inventory by adding the two Series together.
- Add the corresponding elements of
previous_inventoryandrestockedSeries to calculate the total current inventory. - Save the result in a new variable called
updated_inventory.
Solution
Merci pour vos commentaires !
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Résumer ce chapitre
Expliquer le code dans file
Expliquer pourquoi file ne résout pas la tâche
Awesome!
Completion rate improved to 2.7
Task: Processing the Restock of Inventory
Glissez pour afficher le menu
Swipe to start coding
The team at Café Pandasia has completed a fresh restock of coffee beans! You’ve been given two Series:
previous_inventory: The original stock before the deliveryrestocked: The number of units added during the restock
You’ve been asked to calculate the total updated inventory by adding the two Series together.
- Add the corresponding elements of
previous_inventoryandrestockedSeries to calculate the total current inventory. - Save the result in a new variable called
updated_inventory.
Solution
Merci pour vos commentaires !
single