Task: Mid-Morning Specials
Opgave
Swipe to start coding
Remember the Drink of the Hour board from Chapter 6 at Café Pandasia?
The café manager now wants to print just the mid-morning specials — the drinks served between 9 AM and 11 AM, so the team can make a poster for social media.
- Use slicing to get the drinks served between 9 AM and 11 AM.
- Store the result in a variable called
result
.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 8
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
Suggested prompts:
Opsummér dette kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 2.7
Task: Mid-Morning Specials
Stryg for at vise menuen
Opgave
Swipe to start coding
Remember the Drink of the Hour board from Chapter 6 at Café Pandasia?
The café manager now wants to print just the mid-morning specials — the drinks served between 9 AM and 11 AM, so the team can make a poster for social media.
- Use slicing to get the drinks served between 9 AM and 11 AM.
- Store the result in a variable called
result
.
Løsning
Var alt klart?
Tak for dine kommentarer!
Awesome!
Completion rate improved to 2.7Sektion 1. Kapitel 8
single