LLD Logo
LVL1
Prototype Pattern

Step 1 of 4 · Define the cloning contract

1

Your task

Define the cloning contract

Recreate the lesson’s PizzaPrototype abstraction.

Declare clone so callers can copy through the abstraction.
Declare customize so clones can receive their own toppings.

pizza_prototype.py

Your draft · saved locally

1
2
3
4

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