08a266bcf329 — Greg Malcolm 12 years ago
Merged rjo1970's commit from github mirror: 'A bit better example for pop, proving by observation of the test result that the argument to pop is relative to the left of the list, not the end.'
2 files changed, 2 insertions(+), 2 deletions(-)

M python 2/koans/about_lists.py
M python 3/koans/about_lists.py
M python 2/koans/about_lists.py +1 -1
@@ 71,7 71,7 @@ class AboutLists(Koan):
         self.assertEqual(__, knight)  
             
     def test_popping_lists(self):
-        stack = [10, 20, 30]
+        stack = [10, 20, 30, 40]
         stack.append('last')
         
         self.assertEqual(__, stack)

          
M python 3/koans/about_lists.py +1 -1
@@ 72,7 72,7 @@ class AboutLists(Koan):
         self.assertEqual(__, knight)  
             
     def test_popping_lists(self):
-        stack = [10, 20, 30]
+        stack = [10, 20, 30, 40]
         stack.append('last')
         
         self.assertEqual(__, stack)