Task: Randomly Select Customer Orders for Quality Check
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
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Summarize this chapter
Explain the code in file
Explain why file doesn't solve the task
Awesome!
Completion rate improved to 2.7
Task: Randomly Select Customer Orders for Quality Check
Swipe to show menu
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
Thanks for your feedback!
single