Linear Recursion In Python W3schools