On Fri, Feb 7, 2014 at 9:05 PM, rakesh sharma
wrote:
> Hi
>
> Shouldn't your code be like this
>
> def fib(n):
> if n==0:
> return 0
> else:
> return n + fib(n-1)
>
> this works
>
for i in range(4):
> print fib(i)
>
> 0
> 1
> 3
> 6
interesting, but the Fibonacci sequence is 1,1,2,3,5,8,
Hi
Shouldn't your code be like this
def fib(n): if n==0:return 0else: return
n + fib(n-1)
this works
>>> for i in range(4): print fib(i)
0136>>>
> To: tutor@python.org
> From: da...@davea.name
> Date: Thu, 6 Feb 2014 18:06:41 -0500
> Subject: Re: [Tu
Hi Alex,
>From my experience, though in windows env, there is considerable amount of
>difference in the way both the version gets implemented
thanks,rakesh
> From: eryk...@gmail.com
> Date: Fri, 7 Feb 2014 22:43:55 -0500
> To: aklei...@sonic.net
> CC: tutor@python.org
> Subject: Re: [Tutor] good
On Fri, Feb 7, 2014 at 8:02 PM, Alex Kleider wrote:
> It might be worth pointing out that the version of django that comes with
> Debian/Ubuntu is
> Version: 1.3.1-4ubuntu1
> so worrying about having a text that describes 1.6 vs 1.4 may not be all
> that important.
>
> Comments?
Debian stable cur
On 2014-02-07 14:43, Some Developer wrote:
On 06/02/2014 21:49, Christopher Spears wrote:
Can anyone recommend a good Django book? I have been looking on
Amazon, and the books seem to be out of date.
Thanks,
Chris
If you really want a book then get this one:
http://www.amazon.co.uk/Two-Scoo
On 06/02/2014 21:49, Christopher Spears wrote:
Can anyone recommend a good Django book? I have been looking on Amazon, and
the books seem to be out of date.
Thanks,
Chris
If you really want a book then get this one:
http://www.amazon.co.uk/Two-Scoops-Django-Best-Practices/dp/098146730X/ref=
Hi,
The Django community has plenty of good information in the web.
I would go there and have a look. At least this is what I did,
precisely for the same reason that you mention.
Best,
David
2014-02-06 Christopher Spears :
> Can anyone recommend a good Django book? I have been looking on Amazon,