Skip to content

Commit

Permalink
Merge pull request #258 from pandrew5chu/patch-7
Browse files Browse the repository at this point in the history
Create dinner.menu.py
  • Loading branch information
Open-Source-you authored Oct 30, 2024
2 parents 6366fc6 + dc29d34 commit b6b34ba
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Grade-Calc/dinner.menu.py
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}")

0 comments on commit b6b34ba

Please sign in to comment.