diff --git a/advanced-iterators.html b/advanced-iterators.html index f17b1e9..4b64023 100755 --- a/advanced-iterators.html +++ b/advanced-iterators.html @@ -130,9 +130,9 @@ if __name__ == '__main__':

Sets make it trivial to find the unique items in a sequence.

->>> a_list = ['a', 'c', 'b', 'a', 'd', 'b']
+>>> a_list = ['The', 'sixth', 'sick', "sheik's", 'sixth', "sheep's", 'sick']
 >>> set(a_list)                      
-{'a', 'c', 'b', 'd'}
+{'sixth', 'The', "sheep's", 'sick', "sheik's"}
 >>> a_string = 'EAST IS EAST'
 >>> set(a_string)                    
 {'A', ' ', 'E', 'I', 'S', 'T'}