Lecture 6 : Functions & Recursion in Python | Python Full Course

preview_player
Показать описание
This lecture was made with a lot of love❤️

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

The best teacher i have ever seen. Ap bohot logon ki dua lerahi ho didi

tahirahmed
Автор

32:55
n = int(input("enter your num:"))

def odd_or_even(n):
if(n%2 == 0):
print("EVEN")
else:
print("ODD")
odd_or_even(n)

atifmalik
Автор

Ms. Shraddha ji, Your teaching skill is extremely excellent, I never seen such type of skill anywhere. Although you are younger than me, I still salute you, you are a source of inspiration for many people like us. May god give you everything that you want in life.

shraddhakayoutubechannel
Автор

Please continue this series of tutorials with SQL (MySQL) so that projects using database can be created. This will be useful as it will use some dataset libraries like Numpy or Matplotlib and projects can be made.

anoopverma
Автор

Please ma'am after completing this series please go with Flask or Django series Please❤

krishnakumardubey
Автор

def num(a):
if(a %2== 0):
print("This is even", a)
else:
print("This is odd", a)


num(10)

sauravrawat-gkkb
Автор

32:55

def inp_odd_even (n):
if n%2 == 0:
print("Even")
else:
print("Odd")
n=int(input("Enter a no to check it is odd or even= "))
inp_odd_even (n)

gtbihari
Автор

key topic with time stamp :---->
00:01 Functions in Python are blocks of code that can be reused.
02:02 Functions reduce redundant code and improve reusability.
06:12 Understanding function calls and parameters in Python.
08:09 Using functions reduces redundancy and makes code more efficient.
12:13 Functions in Python can be created with or without parameters and return values.
14:17 Functions offer a way to encapsulate code for reuse.
18:06 Understanding built-in and user-defined functions in Python.
19:58 Understanding default parameter values in Python functions
24:04 Creating functions to print lists with proper formatting
26:09 Understanding functions and recursion in Python
30:35 Introduction to functions and recursion in Python
32:36 Recursion in Python
36:10 Recursion is used to print numbers in a function call
37:55 Explaining recursion in Python with a specific example
41:39 Understanding the call stack in Python.
43:29 Recursion creates layers of function calls
46:59 Understanding the concept of recursion and factorial in Python.
49:04 Understanding recursion and its application in programming
52:51 Understanding recursion through the factorial function
54:40 Understanding recursion and writing recursive functions in Python.
58:29 Understanding recursion in Python
1:00:41 Understanding recursion in Python
thanks

AJosl
Автор

32:45
def func(a):
if(a%2 == 0):
print("EVEN")
else:
print("ODD")
n = int(input("please enter a number : "))
func(n)

zubairzakeer
Автор

Hello all
This one the best python basic lecture you will ever get,
In the entire video she never asked for subscribe or like.
Let’s encourage her to do more courses like this and help crores of students and learner’s. Keep up the good work Shraddha and keep on helping people.

gchethan
Автор

55:00
n=int(input("Enter Number To Calculate First N Natural Nos= "))
def calsum(n):
if n==0:
return 0
else:
return n + calsum(n-1)
sum=calsum(n)
print("Sum of First", n, "Natural Numbers = ", sum)

gtbihari
Автор

Ma'am please also cover the projects throughout this python series as you did for JavaScript series

Rajput
Автор

55:00
# sum of first n natural number using recursion
n = int(input("Enter a number "))
def sum1(n):
if (n ==0):
return 0
return n + sum1(n-1)
print(sum1(n))



# write a recursion function to print all elements in list
list =[53, 88, 43, 77, 12, 88, 33]
def fun(list, n):
if (n == len(list)):
return
print(list[n], end= " ")
fun(list, (n+1))
fun(list, 0)

GovindKhedkar-vryl
Автор

32:30 hw
def finder(n):
if(n%2==0):
print("even")
else:
print("odd")

finder(int(input("enter the number : ")))

ManavGarg
Автор

32:33
def even_odd(number):
if number%2==0:
print("even")
else:
if number%2!=0:
print("odd")
even_odd(9)

Output:-
Odd

Soldier_Boy_
Автор

I watched many tutorials but this one satisfied my soul

syedasrar-inbo
Автор

Recursion smjh nhi aaya tha..toh shradha didi ki dekhne k baad code with h arry pr dekha vha bhi nhi aaya phir codebios pr dekha, , phir dobara yhi aagyi, .. or ab perfect smjh aagya... you are best didi ❤

khushpreet
Автор

Hi Shrahda,
The way you teach is really helpful . Thanks a lot . One thing i just wanted to say that factorial of any num is not like 1*2*3*...*num, it should be num*....*3*2*1 . I know both will give same result but logic will get changed and i believe correct logic does matter even though both logics are giving same result .My intention was not to crrect you as you know many things better than me, here i just wanted to provide my opinion . Thank you....😊

DebaprasadDas-zt
Автор

An outstanding learning platform. Well done, Ma'am.

FS
Автор

Not a single person in subcontinent explains Python language like Mark Myers do but you are definitely made your mark. Fan from Pakistan

Ali-tqi
join shbcf.ru