Re: Function error

2014-06-14 Thread Terry Reedy
On 6/14/2014 2:17 PM, sandhyaranimangip...@gmail.com wrote: I am new to python, pls help me to resolve the below error Please read the nice tutorial, though no necessarily all at once. It explains things like this. def fib(n): ... """Print a Fibonacci series up to n.""" File "", line 2

Re: Function error

2014-06-14 Thread John Ladasky
On Saturday, June 14, 2014 11:17:50 AM UTC-7, sandhyaran...@gmail.com wrote: > I am new to python, pls help me to resolve the below error > > > > > > >>> def fib(n): > > ... """Print a Fibonacci series up to n.""" > > File "", line 2 > > """Print a Fibonacci series up to n.""" > >