mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-03 07:58:02 +00:00
Tweaked template notebooks.
This commit is contained in:
@@ -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()"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user