From 6fd632d22808415179bc91e70afd19152e1a8089 Mon Sep 17 00:00:00 2001 From: Jeevankumar S <110320697+Jeevankumar-s@users.noreply.github.com> Date: Tue, 13 Jan 2026 15:01:33 +0530 Subject: [PATCH] fix(curriculum): correct docstring example in Python V9 Step 24 (#65098) Co-authored-by: Jeevankumar-S --- .../workshop-media-catalogue/68b816815f13eca63a588b45.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/blocks/workshop-media-catalogue/68b816815f13eca63a588b45.md b/curriculum/challenges/english/blocks/workshop-media-catalogue/68b816815f13eca63a588b45.md index f4c16c41a92..cfeff05201a 100644 --- a/curriculum/challenges/english/blocks/workshop-media-catalogue/68b816815f13eca63a588b45.md +++ b/curriculum/challenges/english/blocks/workshop-media-catalogue/68b816815f13eca63a588b45.md @@ -10,8 +10,8 @@ dashedName: step-24 A docstring is a string placed as the first statement in a class or function, and it's used to provide documentation for that class or function. Docstrings are typically enclosed by triple double quotes: ```py -def add(x): - """A function that returns the square of a number.""" +def add(x, y): + """A function that returns the sum of two numbers.""" return x + y ```