intermediateChapter 5 of 12Exercise 3 of 3

Two Haikus, Two Animals

Create a prompt template with two variable placeholders that produces one haiku per animal, clearly separated with XML tags.

Your Task

Write a prompt template using {ANIMAL1} and {ANIMAL2} as placeholders. The output should be two haikus — one per animal — each wrapped in labeled XML tags.

Success Criteria

Output must contain exactly two haikus, each about the correct substituted animal, with clear XML tag separation. The prompt must use {ANIMAL1} and {ANIMAL2} placeholders.

Recommended Background

Review Separating Data from Instructions before attempting this exercise for the best experience.

Cmd/Ctrl + Enter to submit