Task: Mid-Morning Specials
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
Tack för dina kommentarer!
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Sammanfatta detta kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 2.7
Task: Mid-Morning Specials
Svep för att visa menyn
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
Tack för dina kommentarer!
Awesome!
Completion rate improved to 2.7single