Re: [Tutor] Infinite Recursion

2014-10-12 Thread Steven D'Aprano
On Sun, Oct 12, 2014 at 09:41:40AM +0200, William Becerra wrote: > Hey, I'm new to programming. > Using python 2.7.8 and running windows8 OS > I'm reading 'How to think like a computer scientist, learning with Python' > I'm in chapter 4 sub-chapter 4.11 Infinite recursion > > According to the book

[Tutor] Infinite Recursion

2014-10-12 Thread William Becerra
Hey, I'm new to programming. Using python 2.7.8 and running windows8 OS I'm reading 'How to think like a computer scientist, learning with Python' I'm in chapter 4 sub-chapter 4.11 Infinite recursion According to the book if I write def recurse(): recurse() I should get the following error F