Task: Modifying Part of a Series
Taak
Swipe to start coding
At Café Pandasia, the manager wants to update the inventory for a specific group of coffee beans. They’ve decided to increase the stock for the first 5 coffee beans (in the original order) by 30 units each, to prepare for an upcoming promotion.
- Reference the first
5
coffee beans from thecoffee_inventory
Series by slicing (either by numerical or custom indexing). - Increase their inventory by
30
units each.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 13
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Awesome!
Completion rate improved to 2.7
Task: Modifying Part of a Series
Veeg om het menu te tonen
Taak
Swipe to start coding
At Café Pandasia, the manager wants to update the inventory for a specific group of coffee beans. They’ve decided to increase the stock for the first 5 coffee beans (in the original order) by 30 units each, to prepare for an upcoming promotion.
- Reference the first
5
coffee beans from thecoffee_inventory
Series by slicing (either by numerical or custom indexing). - Increase their inventory by
30
units each.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Awesome!
Completion rate improved to 2.7Sectie 1. Hoofdstuk 13
single