Function error

sandhyaranimangipudi at gmail.com sandhyaranimangipudi at gmail.com
Sat Jun 14 14:17:50 EDT 2014


I am new to python, pls help me to resolve the below error


>>> def fib(n):
... """Print a Fibonacci series up to n."""
  File "<stdin>", line 2
    """Print a Fibonacci series up to n."""
                                          ^
IndentationError: expected an indented block



More information about the Python-list mailing list