SectionΒ 3. ChapterΒ 6
single
Task: Randomly Select Customer Orders for Quality Check
Swipe to show menu
Task
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
3orders from the DataFramedfand store the result in a new variable calledwinners.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 6
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat