Guided Practice — Live AI

Practice Lab

17 hands-on exercises with real AI responses. Each exercise guides you through a technique with scenarios, step-by-step instructions, hints, and example solutions. Write your prompt, run it against a live AI, and iterate.

From Vague to Precise
beginnerZero-Shot

Scenario

Your colleague asks you to "explain this code." You need to craft a zero-shot prompt that gets a useful, targeted response WITHOUT providing any examples.

Your Task

  1. Write a prompt that explains a factorial function
  2. Specify the target audience (e.g., beginner, knows loops but not recursion)
  3. Request a specific format (line-by-line explanation)
  4. Run it and evaluate if the output matches your expectations

Success Criteria:

Specifies audienceIncludes the codeRequests specific formatOutput is clear & useful
1 of 3