diff --git a/notebooks/beginner/html/lists.html b/notebooks/beginner/html/lists.html index b7c291f..e5603d9 100644 --- a/notebooks/beginner/html/lists.html +++ b/notebooks/beginner/html/lists.html @@ -11777,7 +11777,7 @@ } $( document ).ready(function(){ - show=false; +show=false; $('div.output').hide() }); @@ -12121,6 +12121,8 @@

List are mutable
original = [1, 2, 3]
 modified = list(original)  # Note list() 
+# Alternatively, you can use copy method
+# modified = original.copy()
 modified[0] = 99
 print('original: {}, modified: {}'.format(original, modified))
 
diff --git a/notebooks/beginner/notebooks/lists.ipynb b/notebooks/beginner/notebooks/lists.ipynb index ef4dd3d..0a08876 100644 --- a/notebooks/beginner/notebooks/lists.ipynb +++ b/notebooks/beginner/notebooks/lists.ipynb @@ -310,7 +310,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.4" + "version": "3.5.4" } }, "nbformat": 4,