Photo by Julia Kadel on Unsplash

Recursive Functions in Python

Recursive Functions in Python

  • Do you know what VISA (as in the VISA card in your wallet) stands for? It is the acronym for “Visa International Service Association”.
  • Maybe you are familiar with YAML files, do you know what YAML stands for? YAML Ain’t Markup Language
  • You might even be listening to music reading this article, and if you are not using Bluetooth headphones, you could be using the “JACK Audio Connection Kit” plug of your computer.

Example

The mathematical expression of factorial.

Limitations

import sys
sys.setrecursionlimit(1_500)
# Output/home/antoine/.jupyter/
L--migrated
L--jupyter_notebook_config.py
L--/home/antoine/.jupyter/nbconfig
L--L--edit.json
L--L--notebook.json

Final Thoughts

--

--

Data Scientist

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store