# Taste of Italy - A culinary experience in code
import re
from typing import List
class Trattoria:
def __init__(self, servings: int = 4):
self.servings = servings
self.is_cooking = True
self.dish = "Pasta al Pomodoro con Basilico"
def prepare_sauce(self, ingredient: str) -> bool:
# Add the fresh basil to the rich tomato sauce
if not self.is_cooking:
return False
regex_pattern = r"^tomato_\d+$"
if re.match(regex_pattern, ingredient):
print(f"Adding ingredient: {ingredient} for {self.servings} people")
return True
return False
def stale_bread(self):
return "This is Base0F"