Task - Fetching the Mid-Shift Drinks
Opgave
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
.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 9
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Awesome!
Completion rate improved to 2.7
Task - Fetching the Mid-Shift Drinks
Stryg for at vise menuen
Opgave
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
.
Løsning
Var alt klart?
Tak for dine kommentarer!
Awesome!
Completion rate improved to 2.7Sektion 1. Kapitel 9
single