This repository contains some examples of usages of recursion in Python. Below is a list of examples in this repository's tutorial.
- Calculating the sum of the first n positive integers (https://github.com/CreativeCloudAppDev2020/Python-Recursion-Tutorial/blob/master/calculate_sum_first_n.py)
- Counting the number of digits in a string (https://github.com/CreativeCloudAppDev2020/Python-Recursion-Tutorial/blob/master/count_number_of_digits.py)
- Calculating the factorial of an integer (https://github.com/CreativeCloudAppDev2020/Python-Recursion-Tutorial/blob/master/recursive_factorial.py)
- Calculating the nth Fibonacci number (https://github.com/CreativeCloudAppDev2020/Python-Recursion-Tutorial/blob/master/recursive_fibonacci.py)
- Recursive List Data Structure (https://github.com/CreativeCloudAppDev2020/Python-Recursion-Tutorial/blob/master/recursive_list.py)
- Sum of elements in a list (https://github.com/CreativeCloudAppDev2020/Python-Recursion-Tutorial/blob/master/sum_of_list.py)