From a35979e6888a8329239a40a5496554eabda55bcf Mon Sep 17 00:00:00 2001 From: Damien Irving Date: Wed, 4 Jun 2014 10:39:41 +1000 Subject: [PATCH] Removed reference to the reverse method in ipynb file --- novice/python/03-loop.ipynb | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/novice/python/03-loop.ipynb b/novice/python/03-loop.ipynb index 3861f9270..b7548f9b8 100644 --- a/novice/python/03-loop.ipynb +++ b/novice/python/03-loop.ipynb @@ -435,15 +435,7 @@ " It also has a function called `pow` that calculates the same value.\n", " Write a function called `expo` that uses a loop to calculate the same result.\n", "\n", - "1. Python's strings have methods, just like NumPy's arrays.\n", - " One of these is called `reverse`:\n", - " \n", - " ~~~python\n", - " print 'Newton'.reverse()\n", - " notweN\n", - " ~~~\n", - " \n", - " Write a function called `rev` that does the same thing:\n", + "1. Write a function called `rev` that reverses the order of a Python string:\n", " \n", " ~~~python\n", " print rev('Newton')\n", @@ -914,4 +906,4 @@ "metadata": {} } ] -} \ No newline at end of file +}