Task: Randomly Select Customer Orders for Quality Check
Oppgave
Swipe to start coding
The Café has announced a special prize draw! Three lucky customers will win a free coupon for their next coffee order.
The café has collected data from 20 customers who made purchases that day, and they now want to randomly select 3
winners for the draw.
- Randomly select
3
orders from the DataFramedf
and store the result in a new variable calledwinners
.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 6