Python Program : How To Calculate Sum Of Items of Nested List Using Recursion | Learn Python

Опубликовано: 29 Сентябрь 2024
на канале: CodeAsItIs
2,213
20

#codeasitis #python #pythonnestedlistsum #pythonrecursion
In this video , you will be able to understand how to sum items of nested list using recursion in python.
Example - List =[1,2,3,[4,5],6]
Sum =1+2+3+4+5+6=21

All demo files can be present at Github :- https://github.com/codeasitis/Python
**********
To learn Python, start our Python Playlist HERE:
   • Python Basics  

Subscribe to CodeAsItIs:    / codeasitis  

**********
You can write to me for any query at - [email protected]
**********
Connect with us!

Facebook:   / code.asitis.7  
Instagram:   / codeasitis  
Twitter:   / codeasitis1  

**********

Thank you!
CodeAsItIs