Skip to content

Add a fibonacci.py script #690

Description

@dzianisv

Create a file called fibonacci.py in the root of the repo that:

  1. Defines a function fibonacci(n) that returns the nth Fibonacci number
  2. Includes a if __name__ == '__main__' block that prints the first 10 Fibonacci numbers
  3. Includes a docstring for the function

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions