Skip to main content Skip to navigation Skip to footer
DigiTransact AI Education Centre Start Learning

Hands-on Tutorial Prompt for Recursion

Intermediate Tutorials & Explanations Hands-on tutorial Learning & Education

Prompt text

Write a step-by-step tutorial for recursion that takes a reader from nothing to a working result. Number the steps, give the expected output of each and mark where people usually get stuck.

What to provide

The topic, the learner's level and what they already know

Make it yours. Replace the bracketed inputs with your own details, adjust the constraints to your situation, and change the output format to suit your purpose. Copy the text and edit it freely.

When to use this prompt

This prompt turns your material into a hands-on tutorial, with recursion as the context. It is most useful for teaching work before you teach a lesson or hand material to learners.

Inputs to supply

Paste the topic, the learner's level and what they already know into the model's context first; the answer is only as specific as the material it can see.

  • Context to supply: the learner's level and prior knowledge around recursion.

Worked example with sample inputs

A concrete input for this task would look like this (illustrative only):

  • Filled-in inputs: the topic → onboarding for a B2B scheduling tool.
  • The details that change the answer: the learner's level and prior knowledge around recursion.

What good output looks like

The response should match the requested output and work from the material you supplied.

  • It cites the specific part of the material each point refers to rather than offering generic best practice.
  • The material matches the learner's level and gives examples a learner can follow.

Two common mistakes

  1. Accepting an answer that drifts from the requested output. Re-ask with one short example of the shape you need.
  2. Leaving the recursion context implicit. Without it the response reads as generic hands-on tutorial advice.

Best-suited models

Good fits for this kind of work, as of November 2026: Mistral Large 4 for a lighter open-weight option; Claude Fable 5.2, GPT-6.1 Terra or Gemini 4 Argon for clear explanations. Model versions change quickly — check the AI tool directory before relying on a specific version.

Other versions of this prompt

The same template exists for other stacks and contexts; open one to see how the wording changes:

Last reviewed: · Report a problem