For Loop vs Recursion which is faster | Python programming tutorial for beginners

preview_player
Показать описание
#python #forloop #recursion #pythoncoding #pythonprogramming #recursionalgorithm #beginners #pythontutorial

@TycomacCodes
About Video : For Loop vs Recursion which is faster | Python programming tutorial for beginners

Udemy Course link : Python for patterns, Example Problems, Data Structures and Algorithms (3 in 1 course)

Connect With Me:
Instagram : vinzy_97

If you liked this video give it a thumbs up,share and subscribe and i'll see you in the next one
Рекомендации по теме
Комментарии
Автор

Python for pattern programs, Example Programs, Data Structures and Algorithms (3 in 1 course) 7 Hours course out now

TycomacCodes
Автор

Could you explain please why there is no else after the if condition? It only says return, without else

def fact(x):
if x == 0:
return 1
return x * fact(x - 1)

x = int(input('Enter 4: '))
print(fact(x))

liri
welcome to shbcf.ru