Flowchart (ISO 5807)
Source code
Python
def factorial(n):
if n <= 1:
return 1
return n * factorial(n - 1)The editor opens with this code — change it and the chart redraws.
- Language
- Python
- Constructs
- self-call → subroutine
- Topic
- Recursion
- Formats
- Word, Visio, draw.io, PDF, SVG