Bell numbers: Difference between revisions
Content added Content deleted
m (→Functional Python: Specified Python 3) |
m (→{{header|Python}}: Specified Python 2 for the earlier procedural version) |
||
Line 1,395: | Line 1,395: | ||
===Procedural=== |
===Procedural=== |
||
{{trans|D}} |
{{trans|D}} |
||
{{Works with|Python|2.7}} |
|||
<lang python>def bellTriangle(n): |
<lang python>def bellTriangle(n): |
||
tri = [None] * n |
tri = [None] * n |