mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
Tweaked template notebooks.
This commit is contained in:
parent
691fba5ff9
commit
62e54233c6
|
@ -34,9 +34,8 @@
|
|||
"source": [
|
||||
"## Constraints\n",
|
||||
"\n",
|
||||
|
||||
"* Is it foo or bar?\n",
|
||||
" * foo"
|
||||
"* Does foo do anything else?\n",
|
||||
" * No"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -33,9 +33,8 @@
|
|||
"source": [
|
||||
"## Constraints\n",
|
||||
"\n",
|
||||
|
||||
"* Is it foo or bar?\n",
|
||||
" * foo"
|
||||
"* Does foo do anything else?\n",
|
||||
" * No"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -114,10 +113,12 @@
|
|||
" assert_equal(foo('bar'), 'bar')\n",
|
||||
" print('Success: test_foo')\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"def main():\n",
|
||||
" test = TestFoo()\n",
|
||||
" test.test_foo()\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"if __name__ == '__main__':\n",
|
||||
" main()"
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user