From d45c72592d5b92e2c91ffcb0d04028141d724a37 Mon Sep 17 00:00:00 2001 From: mlefter <m.lefter@lumc.nl> Date: Mon, 18 Sep 2017 08:38:28 +0200 Subject: [PATCH] Moved the boolean exercise. --- .../02_introduction_to_python_2.ipynb | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/introduction/02_introduction_to_python_2.ipynb b/introduction/02_introduction_to_python_2.ipynb index 5405093..436f3ad 100644 --- a/introduction/02_introduction_to_python_2.ipynb +++ b/introduction/02_introduction_to_python_2.ipynb @@ -1176,6 +1176,24 @@ " i += 1" ] }, + { + "cell_type": "markdown", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, + "source": [ + "Hands on!\n", + "===\n", + "\n", + "Try to guess the outcome of the following statements:\n", + "\n", + " 2 * 3 > 4\n", + " 2 * (3 > 4)\n", + " 2 * (4 > 3)" + ] + }, { "cell_type": "markdown", "metadata": { @@ -1774,24 +1792,6 @@ "**Hint:** All elements in a set are unique." ] }, - { - "cell_type": "markdown", - "metadata": { - "slideshow": { - "slide_type": "slide" - } - }, - "source": [ - "$\\S$ Exercise: Boolean comparison\n", - "===\n", - "\n", - "Try to guess the outcome of the following statements:\n", - "\n", - " 2 * 3 > 4\n", - " 2 * (3 > 4)\n", - " 2 * (4 > 3)" - ] - }, { "cell_type": "markdown", "metadata": { -- GitLab