-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #258 from pandrew5chu/patch-7
Create dinner.menu.py
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import random | ||
|
||
def pick_dinner(): | ||
# List of dinner options | ||
dinner_options = [ | ||
"Spaghetti Bolognese", | ||
"Grilled Chicken with Vegetables", | ||
"Tacos with Beef and Salsa", | ||
"Vegetable Stir Fry with Rice", | ||
"Salmon with Asparagus", | ||
"Homemade Pizza", | ||
"Beef Stroganoff", | ||
"Quinoa Salad with Chickpeas", | ||
"Shrimp Curry", | ||
"Stuffed Bell Peppers" | ||
] | ||
|
||
# Randomly select a dinner option | ||
selected_dinner = random.choice(dinner_options) | ||
|
||
return selected_dinner | ||
|
||
# Pick and print a dinner option | ||
if __name__ == "__main__": | ||
dinner = pick_dinner() | ||
print(f"Tonight's dinner option is: {dinner}") |