Back to skills
extension
Category: Development & EngineeringNo API key required

fibonacci-number

Calculates the nth entry in the Fibonacci sequence. Use this when asked to calculate Fibonacci numbers.

personAuthor: jakexiaohubgithub

Fibonacci Calculation with Python

This skill helps you to calculate Fibonacci numbers using a very efficient algorithm.

When to use this skill

Use this skill when you need to calculate Fibonacci numbers.

To access the skill

Run python fib.py and pass it N on the command line.

python <full_path_to_skill>/fib.py <N>

Example

This will output the 100th Fibonacci number.

python C:/Users/Fred/.agentc/skills/fibonacci-number/fib.py 100