Fix #13, PEP8-ify notebooks.

This commit is contained in:
Donne Martin
2015-07-11 15:39:59 -04:00
parent 4566d1a803
commit 3712839cc9
26 changed files with 139 additions and 92 deletions

View File

@@ -92,6 +92,7 @@
"\n",
"\n",
"class MyStack(Stack):\n",
"\n",
" def __init__(self, top=None):\n",
" # TODO: Implement me\n",
" pass\n",
@@ -133,6 +134,7 @@
"\n",
"\n",
"class TestStackMin(object):\n",
"\n",
" def test_stack_min(self):\n",
" print('Test: Push on empty stack, non-empty stack')\n",
" stack = MyStack()\n",
@@ -161,13 +163,15 @@
"\n",
" print('Test: Pop empty stack')\n",
" assert_equal(stack.pop(), None)\n",
" \n",
"\n",
" print('Success: test_stack_min')\n",
"\n",
"\n",
"def main():\n",
" test = TestStackMin()\n",
" test.test_stack_min()\n",
"\n",
"\n",
"if __name__ == '__main__':\n",
" main()"
]