Introduction to the Python Interpreter
[Edit: A significantly expanded version of this series appears as a chapter in The Architecture of Open Source Applications, volume 4, as A Python … (more…)
Read more »
The challenge Given the triangle of consecutive odd numbers: Calculate the row sums of this triangle from the row index (starting at index 1) e.g.: Test cases The solution in code While there are many ways to achieve this, the absolute most simple is to r… Read more