From 4d1e6ebfde2f6cc13e649c79cb6a34b2b92e7e33 Mon Sep 17 00:00:00 2001 From: Jimmy Joice <89591724+jimjoice2804@users.noreply.github.com> Date: Tue, 27 Jan 2026 21:30:43 +0530 Subject: [PATCH] fix(curriculum): Test 2 and Test 4 in both JavaScript and Python versions (#65417) --- .../69373793f5a867f769cde138.md | 8 ++++---- .../69373793f5a867f769cde138.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/curriculum/challenges/english/blocks/daily-coding-challenges-javascript/69373793f5a867f769cde138.md b/curriculum/challenges/english/blocks/daily-coding-challenges-javascript/69373793f5a867f769cde138.md index 7e94e26d940..1b9aa266206 100644 --- a/curriculum/challenges/english/blocks/daily-coding-challenges-javascript/69373793f5a867f769cde138.md +++ b/curriculum/challenges/english/blocks/daily-coding-challenges-javascript/69373793f5a867f769cde138.md @@ -27,10 +27,10 @@ Return: assert.equal(ticTacToe([["X", "X", "X"], ["O", "O", "X"], ["O", "X", "O"]]), "X wins"); ``` -`ticTacToe([["X", "O", "X"], ["X", "O", "X"], ["O", "X", "X"]])` should return `"X wins"`. +`ticTacToe([["O", "O", "X"], ["X", "O", "X"], ["O", "X", "X"]])` should return `"X wins"`. ```js -assert.equal(ticTacToe([["X", "O", "X"], ["X", "O", "X"], ["O", "X", "X"]]), "X wins"); +assert.equal(ticTacToe([["O", "O", "X"], ["X", "O", "X"], ["O", "X", "X"]]), "X wins"); ``` `ticTacToe([["X", "O", "X"], ["O", "X", "O"], ["O", "X", "O"]])` should return `"Draw"`. @@ -39,10 +39,10 @@ assert.equal(ticTacToe([["X", "O", "X"], ["X", "O", "X"], ["O", "X", "X"]]), "X assert.equal(ticTacToe([["X", "O", "X"], ["O", "X", "O"], ["O", "X", "O"]]), "Draw"); ``` -`ticTacToe([["X", "X", "O"], ["X", "O", "X"], ["O", "X", "X"]])` should return `"O wins"`. +`ticTacToe([["X", "X", "O"], ["X", "O", "O"], ["O", "O", "X"]])` should return `"O wins"`. ```js -assert.equal(ticTacToe([["X", "X", "O"], ["X", "O", "X"], ["O", "X", "X"]]), "O wins"); +assert.equal(ticTacToe([["X", "X", "O"], ["X", "O", "O"], ["O", "O", "X"]]), "O wins"); ``` `ticTacToe([["X", "O", "O"], ["O", "X", "O"], ["O", "X", "X"]])` should return `"X wins"`. diff --git a/curriculum/challenges/english/blocks/daily-coding-challenges-python/69373793f5a867f769cde138.md b/curriculum/challenges/english/blocks/daily-coding-challenges-python/69373793f5a867f769cde138.md index a86a9b2ee8d..714f9f912ad 100644 --- a/curriculum/challenges/english/blocks/daily-coding-challenges-python/69373793f5a867f769cde138.md +++ b/curriculum/challenges/english/blocks/daily-coding-challenges-python/69373793f5a867f769cde138.md @@ -30,12 +30,12 @@ TestCase().assertEqual(tic_tac_toe([["X", "X", "X"], ["O", "O", "X"], ["O", "X", }}) ``` -`tic_tac_toe([["X", "O", "X"], ["X", "O", "X"], ["O", "X", "X"]])` should return `"X wins"`. +`tic_tac_toe([["O", "O", "X"], ["X", "O", "X"], ["O", "X", "X"]])` should return `"X wins"`. ```js ({test: () => { runPython(` from unittest import TestCase -TestCase().assertEqual(tic_tac_toe([["X", "O", "X"], ["X", "O", "X"], ["O", "X", "X"]]), "X wins")`) +TestCase().assertEqual(tic_tac_toe([["O", "O", "X"], ["X", "O", "X"], ["O", "X", "X"]]), "X wins")`) }}) ``` @@ -48,12 +48,12 @@ TestCase().assertEqual(tic_tac_toe([["X", "O", "X"], ["O", "X", "O"], ["O", "X", }}) ``` -`tic_tac_toe([["X", "X", "O"], ["X", "O", "X"], ["O", "X", "X"]])` should return `"O wins"`. +`tic_tac_toe([["X", "X", "O"], ["X", "O", "O"], ["O", "O", "X"]])` should return `"O wins"`. ```js ({test: () => { runPython(` from unittest import TestCase -TestCase().assertEqual(tic_tac_toe([["X", "X", "O"], ["X", "O", "X"], ["O", "X", "X"]]), "O wins")`) +TestCase().assertEqual(tic_tac_toe([["X", "X", "O"], ["X", "O", "O"], ["O", "O", "X"]]), "O wins")`) }}) ```