Flowchart (ISO 5807)
Source code
Python
def fib(n):
if n < 2:
return n
return fib(n - 1) + fib(n - 2)The editor opens with this code — change it and the chart redraws.
- Language
- Python
- Constructs
- double recursion
- Topic
- Recursion
- Formats
- Word, Visio, draw.io, PDF, SVG