From c3e7cc9bed8b3a8b76509f4e8e9175990b1e5588 Mon Sep 17 00:00:00 2001 From: Vadim Nifadev <36514612+nifadyev@users.noreply.github.com> Date: Tue, 15 Oct 2024 17:25:56 +0300 Subject: [PATCH] Change images source in notebook --- irrelevant/wtf.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/irrelevant/wtf.ipynb b/irrelevant/wtf.ipynb index a4e6c74..c037032 100644 --- a/irrelevant/wtf.ipynb +++ b/irrelevant/wtf.ipynb @@ -4,7 +4,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "
\n", + "\n", "Exploring and understanding Python through surprising snippets.
\n", "\n", @@ -2947,11 +2947,11 @@ "\n", "When we initialize `row` variable, this visualization explains what happens in the memory\n", "\n", - "![image](/images/tic-tac-toe/after_row_initialized.png)\n", + "\n", "\n", "And when the `board` is initialized by multiplying the `row`, this is what happens inside the memory (each of the elements `board[0]`, `board[1]` and `board[2]` is a reference to the same list referred by `row`)\n", "\n", - "![image](/images/tic-tac-toe/after_board_initialized.png)\n", + "\n", "\n", "We can avoid this scenario here by not using `row` variable to generate `board`. (Asked in [this](https://github.com/satwikkansal/wtfpython/issues/68) issue).\n", "\n"