LLD Logo
LVL1
Abstract Factory

Step 1 of 4 · Define the product family

1

Your task

Define the product family

Recreate the lesson’s three abstract meal roles.

Define appetizer, main-course, and dessert contracts.
Give every product a serve operation that returns text.

meal_products.py

Your draft · saved locally

1
2
3
4
5

Structural feedback only—your code stays in this browser and is not executed.