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
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to