Task - Fetching the Mid-Shift Drinks
Swipe to start coding
At CafΓ© Pandasia, each barista has their own specialty drink. You previously created a Series to map each barista to their signature coffee.
Now, the manager wants to focus on the mid-shift team β specifically the drinks made by Ben to Chloe (inclusive).
- Use slicing with custom indexing to get the drinks made by Ben to Chloe (including Chloe).
- Store the result into a variable called
result.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Summarize this chapter
Explain the code in file
Explain why file doesn't solve the task
Awesome!
Completion rate improved to 2.7
Task - Fetching the Mid-Shift Drinks
Swipe to show menu
Swipe to start coding
At CafΓ© Pandasia, each barista has their own specialty drink. You previously created a Series to map each barista to their signature coffee.
Now, the manager wants to focus on the mid-shift team β specifically the drinks made by Ben to Chloe (inclusive).
- Use slicing with custom indexing to get the drinks made by Ben to Chloe (including Chloe).
- Store the result into a variable called
result.
Solution
Thanks for your feedback!
single