Program to Print a 1D or 2D Array Using Recursion

Опубликовано: 02 Май 2022
на канале: Quoc Dat Phung
2,128
31

In this video, I will show you the program on how to print a one-dimensional array and two-dimensional array using recursion, using Python.

What is recursion? Recursion is a function that calls upon itself. Here, we write a function that calls upon itself and to print a 1D array or 2D array using recursion. While it is easy to use a for loop or while loop to do this, it is important that you understand these recursion steps to have a strong foundation to learn more complex recursive algorithm in the future.

In the next video, I will show you how to find the length of an array using recursion.

In the next video, I will show you how to print a list or an array using recursion.
LIKE & SUBSCRIBE:
🔴 My Channel:    / quocdatphung  
🔴 My second channel:    / @purifynature8479  

MY EQUIPMENT:
✅Camera: Samsung Galaxy J7
✅Recording Equipment: https://obsproject.com/​
✅Editing Software: Shotcut