##// END OF EJS Templates
Don’t use ZeroDivisionError in tests...
Don’t use ZeroDivisionError in tests it’s not consistent across Python versions

File last commit:

r17089:5807c24d
r17093:0bf9f092
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