Turning Learners Into Developers
Codekilla
CODEKILLA
back to course
Lesson 31 / 9134%
Advanced Prompting Techniques1/6

Chain-of-Thought (CoT)

Decompose hard problems into reasoning steps.

// 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?