From 5a884d0dc54e87b9ab03afaf33f0428b0fd707af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Cl=C3=A9rice?= Date: Wed, 29 Jul 2015 09:31:54 +0200 Subject: [PATCH] Correction on "a" and... --- Chapter 1 - Getting started.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Chapter 1 - Getting started.ipynb b/Chapter 1 - Getting started.ipynb index 746f5bab..7af0d790 100644 --- a/Chapter 1 - Getting started.ipynb +++ b/Chapter 1 - Getting started.ipynb @@ -1566,7 +1566,7 @@ "collapsed": false, "input": [ "word = \"rocket sience\"\n", - "if \"a\" and 's' in word:# and 's' in word:\n", + "if \"a\" in word and 's' in word:# and 's' in word:\n", " print(word + \" contains the letter a and s\")\n", "elif \"s\" in word:\n", " print(word + \" contains the letter s\")\n", @@ -2201,4 +2201,4 @@ "metadata": {} } ] -} \ No newline at end of file +}