Summing consecutive third numbers in python
<p>How would I solve this?</p>

<p>The program should contain the definition for the function <code>sumTri(cutOff)</code>. The function adds Tri numbers into the sum. </p>

<p>Tri numbers are every third number: <code>1, 4, 7, 10,</code> .... The function adds consecutive Tri numbers <code>1, 4, 7,</code> ... into the sum so long as the Tri number is less than the cutOff. The function returns the sum of these numbers.</p>
