Functions in Python | Python Tutorial in Hindi 10
ฝัง
- เผยแพร่เมื่อ 5 ก.พ. 2025
- Functions in Python - 10
⭐Python Tutorial Playlist: • Python for Beginners F...
⭐Download Notes & Source Code: drive.google.c...
📢GitHub link: github.com/ris...
➖➖➖➖➖➖➖➖➖➖➖➖➖
❤️Do Like, Share and Comment ❤️
⭐SUBSCRIBE Now!: bit.ly/3Fc7Gc6
➖➖➖➖➖➖➖➖➖➖➖➖➖
📣Want to connect with me? Check out these links:📣
👉Instagram: / rishabhnmishra
👉LinkedIn: / rishabhnmishra
👉GitHub: github.com/ris...
👉Twitter: / rishabhnmishra
➖➖➖➖➖➖➖➖➖➖➖➖➖
⭐Content⭐
✅ 00:00 Functions
✅ 05:28 Function Types
✅ 06:51 Function Syntax
✅ 11:32 Function Examples
➖➖➖➖➖➖➖➖➖➖➖➖➖
⭐Topics covered in this video:
Functions in Python
Types of functions
function syntax
function examples
return statement
pass statement
Python for beginners
➖➖➖➖➖➖➖➖➖➖➖➖➖
Related videos:
⭐Introduction to Python Programming | Python Tutorial in Hindi 1:
• What is Python Program...
📢Python Project for Data Analysis:
• Python Project for Dat...
📢Full SQL Tutorial in One Video:
• SQL Tutorial for Begin...
📢Full Excel Tutorial in one Video:
• Excel Tutorial For Beg...
📢Full Power Bi + Tutorial in one Video:
• Power Bi tutorial for ...
🔖Complete Data Analyst Roadmap:
• How to Become Data Ana...
➖➖➖➖➖➖➖➖➖➖➖➖➖
Hope you liked this video and learned something new :)
See you in next video, until then Bye-Bye! :)
Keep learning n Keep Growing 🚀
#functionsinpython #pythontutorial #pythoninhindi
Hi Rishabh, I am 45 years old ,non IT precession mid management working in MNC, i tried to learn Python in past 5 years but had to left, I lost interest as i was not be able to understand these concepts . First time i am enjoying learning Python as able to understand all the concepts you explain so well. I decided to complete this series , lets see............. your way of explanations are best as compared to many paid courses i opted. Keep teaching , you don't even having idea how you are transformation people professional journey.
Same with me. I tried to learn other channels so many time but failed. This is first time under stand and enjoying learning. Thanks Madhav !
Way of explanation is very easy this series is best for beginners 👍
Glad it's helpful ✅️
I love the way are you teaching, the concept was totally clear U make me understand in very easy way Tq @rishaabh bhaiya
Glad you liked it ✅️
Thank you so much Sr, apke jaise koi explain nhi kr sakta ...saari tension hi khatam or itna easy or one to one example se samjhya with all points tits and tats .jo koi nhi samjhata .. Thank you so much please libraries ka bhi videos banaye
Glad it's helpful ✅️
thanks rishabh bhai for this video pls keep it up as i am studying from your channel to get ajob pls help by uploading all the details for becoimg a product analyst
Glad you liked, n all the best 👍
Well done ❤
🙏
The way you explain is absolutely good ❤❤❤
Thanks for this master class 🎉
Glad it's helpful ✅️
Sir, I came across your SQL and Python series, I loved a lot your teaching skill.
🙏🙏
Glad you liked ✅️
Thanks, brother. I've been waiting a long time for your Python lesson.
Glad you liked ✅️
Brother make one project on time series analysis and hypothesis testing i have watch many videos but i didn't get any clear concept you teaching style is fabulous i know only you can clear my doubt on this topic if you can do this it'll very help full for me to crack the interview
Yess noted ✅️
@@RishabhMishraOfficial Thanks brother
nice lec keep continue sir god bless u
Glad you liked ✅️
i will just say one thing you"re very underrated
Glad you liked the content ✅️
Mast bto i will also lern python ❤❤❤❤
Glad you liked ✅️
@@RishabhMishraOfficial ok Keep coding
Happy teachers day! Thank you for all the courses and projects. You are amazing! 👏
Thank you n glad you liked the content ✅️
Thank you so much sir for updating vedio on regulR basis.
Very nice way of teaching
Glad you liked the content ✅️
Keep this series continue 😊
def ad2num (a,b):
return a+b,a-b , a*b,a%b,a*b
num2 = ad2num(int(input()),int(input()))
print(num2)
👍
def add(a,b):
return a+b
def subtract(a,b):
return a-b
def multiply(a,b):
return a * b
def divide(a , b):
if b == 0:
return "Error: Division by zero"
return a / b
def avg(a ,b):
return (a+b) /2
print("Simple Calculator")
print("Choose an operation:")
print("1.Add")
print("2.Subtract")
print("3.Multiply")
print("4.Divide")
print("5.Average")
print(" ")
choice = int(input("Please enter your choice: "))
a = int(input("Enter first number: "))
b = int(input("Enter second number: "))
if choice == 1:
print("Result: ",add(a,b))
elif choice == 2:
print("Result: ",subtract(a,b))
elif choice == 3:
print("Result: ",multiply(a,b))
elif choice == 4:
print("Result: ",divide(a,b))
elif choice == 5:
print("Result: ",avg(a,b))
else:
print("Invalid choice")
🤔🤔🤔 please provide your opinion
Good work 👏
Sir tuples tak itni python deta analysis ke liye sufficient he jitni apne krayi ya or bhi karni hogi
#Defining functions first
def add(a,b):
result = a + b
return (print(result,type(result)))
def minus(a,b):
result = a-b
return (print(result, type(result)))
def multi(a,b):
result = a*b
return (print(result, type(result)))
def divi(a,b):
result = a/b
return (print(result, type(result)))
def avg(a,b):
result = (a+b)/2
return (print(result, type(result)))
#Using function to write calculator code:
a = int(input('enter your first no. here: '))
b = int(input('enter your second no. here: '))
opp = int(input('choose which opperation:
(1=add, 2=subtract, 3=multiply,
4=divide, 5=average.)'))
if opp==1:
print(add(a,b))
elif opp==2:
print(minus(a,b))
elif opp==3:
print(multi(a,b))
elif opp==4:
print(divi(a,b))
else:
print(avg(a,b))
# this calci only does operation on 2 digits.
Awesome ✅️
a = float(input(" What is your first no.? "))
b = float(input(" What is your second no.? "))
c = input("what type of opperator you wanna to perform 1=add,,,2=subt,,,3=multiply,,,4=division,,,5=avg")
if c == '1':
sum = a+b
print(f"addition is {sum}")
elif c =='2':
diff = a-b
print(f"subtraction is {diff}")
elif c == '3':
mult = a*b
print(f"multiplication is {mult}")
elif c == '5':
avg = (a+b)/2
print(f"avg is {avg}")
elif c == '4':
if b == 0:
print("division is INFINITE")
else:
print(f"the division is {a/b}")
else:
print("ERROR")
Suggest some books to learn data analysis from basics to advance
Always good to see you sir , sir can you made a videos on beginners course list only who are just enter in The Computer field or you can say IT sector and Data science by the way i want from you that please made a videos on R prog. , STATA , Data Analysis using SPSS as these were part of M.A economics if you would made or just tell me the roadmap it will be very helpful sir
def calc(a):
if(a==1):
num1=int(input("enter your 1 number"))
num2=int(input("enter your 2 number"))
s=num1+num2
print("Answer = ",s)
elif(a==2):
num1=int(input("enter your 1 number"))
num2=int(input("enter your 2 number"))
s=num1-num2
print("Answer= ",s)
elif(a==3):
num1=int(input("enter your 1 number"))
num2=int(input("enter your 2 number"))
s=num1*num2
print("Answer= ",s)
else:
num1=int(input("enter your 1 number"))
num2=int(input("enter your 2 number"))
s=num1/num2
print("Answer= ",s)
print("press 1 for addition")
print("press 2 for subtraction")
print("press 3 for multiplication")
print("press 4 for division")
n=int(input("enter your choice = "))
calc(n)
Awesome, keep learning n keep growing 🚀
Hi, do you have any suggestions for the practice, like from where to do that.
As I am learning I want to do more practice for confidence. Could you please help me with that
You can use kaggle website to practice more projects
Rishabh bhai, kitne chapters aur bache hai.. kaafi intersting hai ye..
Aur ye specially kinke liye hai.
For all or only for data analyst/DS/DE etc
This series will consist total how many videos?
5 more chapters, tomo coming a new video
def cel_fh(c):
f=(c*9/5)+32
return f
temp_f=cel_fh(25)
print("The temprature in fh is :",temp_f)
Awesome, keep learning n keep growing 🚀
sir can you make videos daily
we have to wait for your videos and thanks ❤❤❤
Glad you liked ✅️ I'm trying to upload videos asap
@@RishabhMishraOfficial thank you for replying sir
you can understand sir i have to wait for the lectures to come
sir have u make video on oops with python??
Coming soon
pass statement is my fav🤣🤣
😅
Recursion is important for data analysts ?
Good to know
kya yeh correct hai?
def calculator(a,b):
addition = a+b
sub = a-b
div= a/b
muliply= a*b
avg = (a+b)/2
return addition,sub,div,muliply,avg
Aree bhai bhai bhai.. yeh kya hai. Aise nahi proper step by step likho, take user input n print the results in output
@@RishabhMishraOfficial hahahahha ha sir!! yeh wrong hai...thank you for reply. mene enw video par just abhi new program comment kiya hai.
thoda f string and all use kar k.
thanks
Please upload One topic daily
def ad2(a, b):
result = a + b
return (print(result, type(result)))
input:- ad2(55,66)
output:- 121
how about just using print inside return
i did this and when i hit run it printed the sum and the data type(int)
would there be a problem with this type of code?
It should work, but the problem is the data type of output is none, so you can't use it in future calculations. Already covered this point in video
Sir loops ka chapter kb introduce karoge aap?
In the next few videos
Bro make video on library that requires for data analyst like . I know that you know better than me so please make video on library that most requir for data analyst
14:32
Bhaiya yaha par kaisa pata chalega ki variable kis data type ka hai parameter mai
Ans is 37:50
a = int(input("Enter the first number"))
b = int(input("Enter the second number"))
print(f"Addition of a+b is {a+b}")
print(f"Subtraction of a-b is {a-b}")
print(f"Division of a/b is {a/b}")
print(f"Multiplication of a*b is {a*b}")
print(f"Average of (a+b)/2 is {(a+b)/2}")
That we can understand by prompt- enter a number. That means parameter is a numeric type. And if someone enters any other type value it will be considered as invalid input
@@RishabhMishraOfficial Thank you so much bhaiya
Bhaiya placements chal rhi h and data analytics ki companies aa rhi hain
Python ki ye series kitne time m complete kr doge aap?? Because you take many days gap between two videos.
Dear Chitransh,
Rishab is working professional and he makes videos by engaging his time to provide free videos to viewer's.
He need to adjust time to make videos by editing, which takes a lot of time to make this happens.
So keep patients & learn.
If you are in hurry you can also refer any other video which is already present on you tube.
Sorry, @Rishab Mishra if i have done any mistake.
Yess I'm working on it, will try to share videos asap, in 2 weeks this series will be completed
@@RishabhMishraOfficial okay bhaiya
Sir pls help me Mere system ma python install ke time ek error aa rhe h python is not recognised pls isse kaise solve kre give me any suggestions
Konsa window h apka
Windows 10
Data analysis project in hindi th-cam.com/video/H_NfTBffg6Q/w-d-xo.htmlsi=gYyPKeWW28BqC_vh
agar function mai (a=122,6000) dotu kya hoga
🤔🤔🤔🤔
You can try 😉
Bro calculator kaha h isme
Calculator k liye ek dedicated video hai- project1
Normal: Bulati hai MAGAR jane ka nahi ❌
Function be like: Bulati hai ....toh...jane ka ✅
Sb kuch comment kese krte h aap ek sath sari rows 😢
Select karo and use "Ctrl" + ? button
@RishabhMishraOfficial ok thank you so much... I wasn't expecting your reply though, would really like to appreciate your efforts nd dedication towards your students nd work 👍🏼