please write the code to make a cappuccino
- User
please write the code to make a cappuccino
Assistant
Here is Python code to make a cappuccino:
# Import ingredients import espresso import steamed_milk import foamed_milk # Prepare the espresso espresso_shot = espresso.pull_shot() # Steam the milk milk = steamed_milk.steam() # Foam some of the milk foam = foamed_milk.foam(milk) # Assemble the ingredients into a cup cup = [] cup.append(espresso_shot) cup.append(milk) cup.append(foam) # Top with cinnamon or chocolate if desired cup.top(cinnamon) # Serve the cappuccino print("Here is your delicious cappuccino!") serve(cup)The key steps are:
- Pull an espresso shot
- Steam milk
- Foam some of the steamed milk
- Layer the espresso, steamed milk, and foamed milk into a cup
- Add any toppings
- Serve!
Let me know if you need any clarification or have additional questions!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.