From e7a9f340a2ee25cf8f45d7cff8d8b678b82507e6 Mon Sep 17 00:00:00 2001 From: VectorLu Date: Sat, 4 May 2024 13:04:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20demo=20=E5=A4=B1=E6=95=88?= =?UTF-8?q?=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit python demo 链接已失效,这些demo 现在在作者 Guido van Rossum 维护的这个 repo 中,更新可用链接 --- Part.2.C.why-start-from-writing-functions.ipynb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Part.2.C.why-start-from-writing-functions.ipynb b/Part.2.C.why-start-from-writing-functions.ipynb index 335f534ab..d3ec6a631 100644 --- a/Part.2.C.why-start-from-writing-functions.ipynb +++ b/Part.2.C.why-start-from-writing-functions.ipynb @@ -56,12 +56,12 @@ "\n", "最起码把这其中的以下几个程序都精读一下,看看你自己的理解能力:\n", "\n", - "> * [beer.py](https://github.com/python/cpython/blob/master/Tools/demo/beer.py) Well-known programming example: Bottles of beer.\n", - "> * [eiffel.py](https://github.com/python/cpython/blob/master/Tools/demo/eiffel.py) Python advanced magic: A metaclass for Eiffel post/preconditions.\n", - "> * [hanoi.py](https://github.com/python/cpython/blob/master/Tools/demo/hanoi.py) Well-known programming example: Towers of Hanoi.\n", - "> * [life.py](https://github.com/python/cpython/blob/master/Tools/demo/life.py) Curses programming: Simple game-of-life.\n", - "> * [markov.py](https://github.com/python/cpython/blob/master/Tools/demo/markov.py) Algorithms: Markov chain simulation.\n", - "> * [queens.py](https://github.com/python/cpython/blob/master/Tools/demo/queens.py) Well-known programming example: N-Queens problem.\n", + "> * [beer.py](https://github.com/gvanrossum/old-demos/blob/main/demo/beer.py) Well-known programming example: Bottles of beer.\n", + "> * [eiffel.py](https://github.com/gvanrossum/old-demos/blob/main/demo/eiffel.py) Python advanced magic: A metaclass for Eiffel post/preconditions.\n", + "> * [hanoi.py](https://github.com/gvanrossum/old-demos/blob/main/demo/hanoi.py) Well-known programming example: Towers of Hanoi.\n", + "> * [life.py](https://github.com/gvanrossum/old-demos/blob/main/demo/life.py) Curses programming: Simple game-of-life.\n", + "> * [markov.py](https://github.com/gvanrossum/old-demos/blob/main/demo/markov.py) Algorithms: Markov chain simulation.\n", + "> * [queens.py](https://github.com/gvanrossum/old-demos/blob/main/demo/queens.py) Well-known programming example: N-Queens problem.\n", "\n", "就算读不懂也没关系,把读不懂的部分标记下来,接下来就可以 “带着问题学习”……\n", "\n",