##// END OF EJS Templates
update execute preprocessor for msg spec 5
update execute preprocessor for msg spec 5

File last commit:

r17089:5807c24d
r17092:a8229c9e
Show More
Factorials.ipynb
54 lines | 864 B | text/plain | TextLexer
Julia Evans
Start adding tests from runipy
r17082 {
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "code",
"collapsed": false,
"input": [
"i, j = 1, 1"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"for m in range(10):\n",
" i, j = j, i + j\n",
Julia Evans
print is a function in Python 3
r17089 " print(j)"
Julia Evans
Start adding tests from runipy
r17082 ],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"2\n",
"3\n",
"5\n",
"8\n",
"13\n",
"21\n",
"34\n",
"55\n",
"89\n",
"144\n"
]
}
],
"prompt_number": 2
}
],
"metadata": {}
}
]
}