Task: Mid-Morning Specials
Taak
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
.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 8