diff --git a/native-datatypes.html b/native-datatypes.html index df615ad..c317f4b 100755 --- a/native-datatypes.html +++ b/native-datatypes.html @@ -224,7 +224,7 @@ ZeroDivisionError: Fraction(0, 0)
 >>> a_list = ['a', 'b', 'mpilgrim', 'z', 'example']  
 >>> a_list
-['a', 'b', 'mpilgrim', 'z', 'example']
+['a', 'b', 'mpilgrim', 'z', 'example']
 >>> a_list[0]                                        
 'a'
 >>> a_list[4]                                        
@@ -361,7 +361,7 @@ ValueError: list.index(x): x not in list
>>> a_list[1] 'new'
    -
  1. You can use the del statement to delete a specific item from a list. +
  2. You can use the del statement to delete a specific item from a list.
  3. Accessing index 1 after deleting index 1 does not result in an error. All items after the deleted item shift their positional index to “fill the gap” created by deleting the item.
@@ -681,7 +681,7 @@ AttributeError: 'tuple' object has no attribute 'remove' >>> a_set {1, 3, 36, 6, 45, 15, 28} >>> a_set.remove(21) -Traceback (most recent call last): +Traceback (most recent call last): File "<stdin>", line 1, in <module> KeyError: 21
    @@ -707,7 +707,7 @@ KeyError: 21 >>> a_set set() >>> a_set.pop() -Traceback (most recent call last): +Traceback (most recent call last): File "<stdin>", line 1, in <module> KeyError: 'pop from an empty set'