Recursion (Theory of Python) (Python Tutorial)

preview_player
Показать описание
Recursion is a useful tool when you need it. The problem is you don't really need it that often. Here, I cover the rules of recursion and some simple recursive algorithms. I also lightly touch on when you actually need recursion versus when you do not. The factorial function, the Fibonacci series, and the Towers of Hanoi are covered.

Thank you!
Рекомендации по теме
Комментарии
Автор

love your vedio! Please keep making more vedioes on python. I'm looking forward to watching vedioes on tree traversal problems. thx!

lael
Автор

Ur videos are so helpful. I need to make an investigatory project for school using python where we must incorporate file handling (read, write, append functions) and an SQL database. Can u tell how to connect python and SQL for making a telephone directory program?

bLeep
Автор

I like your content, but for a particular series such as this Python series you should label the video #in the series, such as video 3/5 Python Series. I only say this because I ran into your latest Python video and had no context to it until realizing it was one of many in a series. I like your channel! I just discovered it, I'm a current Physics Undergrad with aims for a Ph.D in Experimental Particle Physics.
P.S.
I'm taking a Matlab programming course next semester and was told it could help me with research based physics and understanding other languages of code found in physics, do you agree and do you think Matlabs is a good tool under the belt?

DrAtomics
Автор

def funct(num=0):
print(num+1)
funct(num+1)
funct()

bagok
visit shbcf.ru