Implemented publish script so put my solutions on server and render automatically.
This commit is contained in:
@@ -112,7 +112,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"execution_count": 1,
|
||||
"metadata": {
|
||||
"collapsed": false
|
||||
},
|
||||
@@ -127,9 +127,12 @@
|
||||
],
|
||||
"source": [
|
||||
"r, a, b = 0, 0, 1\n",
|
||||
"\n",
|
||||
"while b <= 4000000:\n",
|
||||
" if b % 2 == 0: r += b\n",
|
||||
" if b % 2 == 0:\n",
|
||||
" r += b\n",
|
||||
" a, b = b, a + b\n",
|
||||
" \n",
|
||||
"print(r)"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user