← Back

Code Challenge 3.1 - Raffle 🎟️


Objective

Your task is to create a program that simulates a raffle. Participants can submit one or more entries, and the program will randomly select a winner.

Skills to Practice

Challenge Tasks

Sample Output

Enter a name to add to the raffle (or type 'done'): Alice [Enter]
Enter a name to add to the raffle (or type 'done'): Bob [Enter]
Enter a name to add to the raffle (or type 'done'): Charlie [Enter]
Enter a name to add to the raffle (or type 'done'): done [Enter]

Drawing a winner...
Congratulations, Bob! You are the winner of the raffle!