##// END OF EJS Templates
on("destroy",...) -> once("destroy",...) so we don't keep a reference to it, preventing gc...
on("destroy",...) -> once("destroy",...) so we don't keep a reference to it, preventing gc Thanks to Sylvain Corlay for the suggestion.

File last commit:

r17101:945ec056
r18058:c7253b21
Show More
Factorials.ipynb
54 lines | 864 B | text/plain | TextLexer
In [1]:
i, j = 1, 1
In [2]:
for m in range(10):
    i, j = j, i + j
    print(j)
2
3
5
8
13
21
34
55
89
144