From 3e8959ca61c1b98981c9d8153848295811adb281 Mon Sep 17 00:00:00 2001 From: Ravindra barthwal Date: Fri, 4 Nov 2016 04:53:34 +0530 Subject: [PATCH] Corrected the self subtraction output I have updated the output for the In[17] where the self-subtraction performed. # Set the object equal to itself minus 123 my_dict['key1'] -= 123 my_dict['key1'] Output should be 0 and not -123 --- Dictionaries.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dictionaries.ipynb b/Dictionaries.ipynb index 9abf3c8..d60aec5 100644 --- a/Dictionaries.ipynb +++ b/Dictionaries.ipynb @@ -227,7 +227,7 @@ { "data": { "text/plain": [ - "-123" + "0" ] }, "execution_count": 17,