Turning Learners Into Developers
Codekilla
CODEKILLA
back to course
Lesson 35 / 9138%
Advanced Prompting Techniques5/6

Multi-step Reasoning Prompts

Force the model to plan, then execute.

// chain-of-thought · think step by stepQ: A bat & ball cost ₹110. Bat is ₹100 more.Step 1: Let ball = x.Step 2: bat = x + 100.Step 3: x + (x+100) = 110 → 2x = 10Answer: ball = ₹5.
Visual explanation diagram · click steps to walk through it

This lesson is Pro only.

Unlock every premium lesson and module — Pro from ₹299 / month (or ₹999 / year, saves ~₹2,589).

Sign in to unlock
// feedback.matters()
Did this lesson help you?