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 @@
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))