I watched many videos but did not understand what is return statement. This guy explained me clearly what is return statement, and now I know all about it. Thanks!
Bro maza aa gaya.... aapse pahle me same content ki 3 videos dekh chuka hun par samajh nahi aaya ......ese dekhne ke baad mjhe or kuch dekhne ki zarurat nahi.... Dhanyawaad.
I have learnt from my life, never ever forget to thank those peoples from whom u r learning something good or the knowledge u r looking for, this year l passed my cls 12th & l got 50/70 in comp. Boards, u can't even imagine l didn't know what is int() what is input() , what is the meaning of that statement, l don't even know how the code runs, my percentage ruined in cls 11th &12th bcoz l scored very poor marks in comp., But my last board paper was on 31st March, thereafter in April, l came across ur channel..& l was so afraid to start l thought that comp. Is necessary in each n every field l must learn this know this, I was getting bored sitting at home so l just gather courage anyhow & started watching ur python vdos, l was thinking that l can't understand in these 2 years, but how l will now .but again l convinced myself lf everyone can than why can't l?? & l swear the things which l haven't learnt for the past 2 years, now l understand each n everything crystal clear by watching ur vdos, so u can imagine how much grateful l am to you!! I m thanking u a lot & one day by the grace of god l'll meet u to thank you for clearing all my basics nd leading the path to learn advance & become something good in life, DIL SE❤l accept u as my GURU-JI❤
man oh man! your explanation is so good. I feel like you peeled the banana and also put the same banana in my mouth with your own hand. May Allah bless you!
Sir, please can you make videos on advance python concepts like modules, decorators, f string and oops concepts Because, your teaching style is so perfect and we are getting proper knowledge. So we want this tutorials in python if possible.
# Addition of two numbers and return final result def add(a, b): c=a+b return c x = int(input("Enter Fist Number")) y = int(input("Enter Second Number")) z = add(x,y) print("Addition of the numbers", z)
Thanks a lot sir for given a valuable information about return statement . you explained with a simplified way. I haven't seen such information about returns statement till date. Again thanks sir😊❤
Sir, why we need to return value to calling function. Instead of return c We can also write print("Addition"+c) Sir,why we need to return the value to the function call pls tell me
Yes you are not compelled to return any value. You can print in the function itself. But let me know one thing, you request an information from google so what does it do? It returns the answer of your query. That's it.
@@codeitup Sir, just for clarification purposes. We use return function so that even after long lines of code after the "c= a+b" code, we can obtain the desired value. Right?
Hi Anand, thank you so much for this video. Ek question hai, suppose there are 3 tables, and muje kuch kuch analysis karne k baad har table se kuch columns ko delete karna hota hai.... so mai uske liye > use karta hu, mai ek function aisa banana chata hu jisme, mai file/table name likhu aur column ka nam and uss particular dataframe se vo column delete hojaye like > iske liye kaise karna padega?
Very good content. Quality is on point. Must watch for understanding the fundamentals of python. Keep it up.👏
Thanks Rehaan!
I watched many videos but did not understand what is return statement.
This guy explained me clearly what is return statement, and now I know all about it. Thanks!
Lockdown mai ghr baithe hain socha Python hi seekh lete hain, aur yha itni simple language mai smjhne ko mil gya.
print("Thank you sir")
print("Thank You Abhishek")
@@codeitup
while True :
Print("thank you sir !")
Bro maza aa gaya.... aapse pahle me same content ki 3 videos dekh chuka hun par samajh nahi aaya ......ese dekhne ke baad mjhe or kuch dekhne ki zarurat nahi.... Dhanyawaad.
My pleasure Deepak!
O my god you are good teacher i never expected that you will discuss such small topic in a good way...love u from Bangladesh
Ap jese logo ki wajeh se ye duniya tiki hui hai
So nice of you Sanchay, keep learning😊
I have learnt from my life, never ever forget to thank those peoples from whom u r learning something good or the knowledge u r looking for, this year l passed my cls 12th & l got 50/70 in comp. Boards, u can't even imagine l didn't know what is int() what is input() , what is the meaning of that statement, l don't even know how the code runs, my percentage ruined in cls 11th &12th bcoz l scored very poor marks in comp., But my last board paper was on 31st March, thereafter in April, l came across ur channel..& l was so afraid to start l thought that comp. Is necessary in each n every field l must learn this know this, I was getting bored sitting at home so l just gather courage anyhow & started watching ur python vdos, l was thinking that l can't understand in these 2 years, but how l will now .but again l convinced myself lf everyone can than why can't l?? & l swear the things which l haven't learnt for the past 2 years, now l understand each n everything crystal clear by watching ur vdos, so u can imagine how much grateful l am to you!! I m thanking u a lot & one day by the grace of god l'll meet u to thank you for clearing all my basics nd leading the path to learn advance & become something good in life, DIL SE❤l accept u as my GURU-JI❤
How's your coding going on?
man oh man! your explanation is so good. I feel like you peeled the banana and also put the same banana in my mouth with your own hand. May Allah bless you!
Glad you enjoyed it!
after lot's of confusion..... finally I understand what is actual RETURN means. Thanks sir, great explanation 🙂
Most welcome!
Bhai kya hi samjhya AAP me .fan ho Gaya .sachhi yar samagh me nahi aa Raha tha Lekin ab samagh me aa gaya
Thanks manoranjan, keep learning !
love you bro watching this video in 2024. It's help a lot for me.
Sir bohat bohat shukirya. Bohat achay sy samjhya
Best channel for understanding Python🔥🔥🔥🔥🔥🔥🔥
And ya I subscribed
Sir, aapne bohot acche se samjhaya.💕 Thank you so much😌🙏💕
Most welcome !
Seriously sir kmal ki explaination krtay ha ap
Bhaiya aap jo bhi..aag laga diye lekin..khtrnk explanation.
Khatarnaak comment! Thanks you so much !
A big thank to you
This help me lot know difference between print and return statement
Most welcome Manuj, keep learning😊
def add():
a = int(input("Enter the number1 = "))
b = int(input("Enter the number2 = "))
c = a+b
return c
sum = add()
print("Sum is = ",sum)
def add(a,b):
c=(a+b)
return c
x=int(input('enter 1st number: '))
y=int(input('enter 2nd number: '))
z=add(x,y)
print('current number is ',z)
your teaching way is very good. i understood this return concept easily. Thank You Sir
Glad to hear that🙂
very very thank full sir for talling how to work return in python thanks a lot
Thank you Sir for the easiest explanation
Most welcome😊
thank u very much for this nice explaination
Most welcome Naghma!
Thanks sir, concept clear ho gaya
🙂
Yeah ur videos are good because you use marker and white board than other youtubers videos.😀
Thank you so much Harshad!
thanku sir i dont understand return func in c++ but i understood in this video.
thanku😊
You are most welcome!
Bhaiya aap bahut badhiya se smjhate ho ❤️🙏
😊
Sir, please can you make videos on advance python concepts like modules, decorators, f string and oops concepts Because, your teaching style is so perfect and we are getting proper knowledge. So we want this tutorials in python if possible.
Will upload soon🙂
@@codeitup ok sir, it will be helpful
great teaching,,,,, love from pakistan
🙂
your teaching way is very unique..sir 👍👍👍👍
Thanks and welcome🙂
You explained very well 😇
Thanks Muskan!
your Content is worth applaud😊 thankyou
3:17
def add(a,b) # "a" and "b" are parameters not argument
c = a+ b
return c
print(add(5,2)) # "5" and "2" are argument.
No need for thanks
Very clear explanation
Glad you liked it!
Thank you sir...your method is very simple and easy to learn...most helpful.🔥
Glad to help you Farhan!
Sir aap bahot acha padhate hai 😇
Thanks Kabir!
Thankuuuu so much sir you are the best teacher 🙏🙏🙏
Thanks & most welcome Dhiraj!
That's so great of you❤️ it was completely understandable❤
Thank you so much!
Greattt Sir!!!....Everything got cleared!!Thankyou sir!!!
Sir strings in phython ke ques bhii
Please sir 🙏🙏😇
Very soon Gungun!
Python strings are there now in my playlist.
Thanks a ton sir!
You really cleared my confusion!
Glad to help you Cheshta!
Thank you so much sir for this helpful video..
Glad to help you😊
thank you i never comment but this is worth it
i understood the concept that i was stuck on long time thank you
Thank you so much, Keep Learning !🙂
Very very nice sir carry on
Thanks Tanuj !
thank you sir, for making video on this content.
Thanks a ton !
very nice, and impressive👍
Thanks dear😊
Very good explained
love u paji,
Nice xplanation.
Thanks Farah. Keep Learning !
Thanks Sir... "return" statement ab ekdam clear hogaya hai mera
Thanks so much sir 💞
Most welcome dear!
Thanks 🙏 sir ji .
Good all video thanks
SQL injection sir
Amezing Explanation Sir 🙏 Thanks....
Most welcome Ganesh, keep learning 🙂
amazing sir
Thanks!
Very nice teaching sir .it is super easy to understand your explanation.
def anand():
c="thank you anand sir"*10
Return c
Print(anand())
Thank you so much Devaraja !
Such a nice explanation 😌
Thanks Rishabh!
Love you so much sir
😊
Best ever vdo 👍👍
Thanks😊
nice teaching thankyou sir
Keep watching!
Very nice teaching sir
Thanks Akshay!
Excellent brother.
Thanks😊
Nice explanation 👍
Thanks a ton Jitendra!
Excellent explanation sir.....❤️❤️❤️.
Keep watching🙂
great explanation !!!!!!loved it
Thanks Arunansh!
Sir plzzz make a video on python decorators and generators
Very Nicd explanation
Thanks for liking Anish !
# Addition of two numbers and return final result
def add(a, b):
c=a+b
return c
x = int(input("Enter Fist Number"))
y = int(input("Enter Second Number"))
z = add(x,y)
print("Addition of the numbers", z)
Dhanyavaad
😊
Nice class ☺️
Thanks!
so nice
very nice
🙂
thank youuuu so much sir..
Most welcome Yogesh !
J = ("Harshit Vashisth + Code It Up")
print(f"{J} ✓ Definitely U R Good Programmer")
Sir 2nd program mai add function ko parentheses nhi diya hai to woh function kaise hua,??
Yes, correct Payal. Good to know aapne dhyan se video dekha. It's my mistake, mai () put karna bhul gaya. Waha () hoga. Sorry for the mistake.🙂
Insan se hi mistake hoti hai sir😊
Your explanation is very nice.
Keep making such video......
mai ye comment karne he wala tha ....koi to hai chalo dhyan se padhne wala
@@ajaybhandari9215 Definitely, The student who will learn thoroughly will ask questions..
Very nice 👍
Thanks😊
Sir first line me def add(): kyu nhi laga rahe hai 8:37
Thanks a lot sir for given a valuable information about return statement . you explained with a simplified way. I haven't seen such information about returns statement till date. Again thanks sir😊❤
Most welcome Sunil, keep learning.. God bless you!
Loved it sir
Thanks😊
very good. sir
Thanks Aneela!
It's like a boon before exam!
😊
Great sir
🙏
You should write def add(): then only it will execute
Thanks a lot sir
Most welcome Mukul!
Awesome!
🙂
Excellent tutorial!
Glad you liked it Dipankar !
Thanks it helps
Most welcome🙂
really helpfull
Glad to help you😊
sometime i thought you made for teaching me
Sir, ek hi program ko function me different ways se kais banaege?
Keep watching. I will upload that video as well.
Sir after add plz use bracket in last program
Best🔥
😊
Thanks a lot
Most welcome🙂
thanks a lot sir and sorry
Sorry??
Sir can you make a video on return statement in java? Please
Sir second example mein... def add( ) {parenthesis} use nhi honge??
Hoga, I missed to write it. Sorry !
@@codeitup No need to be sorry sir... btw greatly explained😊
Thanks Samridh Koli !
return (c) aur print(c) me different kya hai??..i mean return nhi likh kar print nhi likh sakte?/?
Great
Thank you so much. Kindly support this channel to grow.
Sir, why we need to return value to calling function.
Instead of return c
We can also write print("Addition"+c)
Sir,why we need to return the value to the function call pls tell me
Yes you are not compelled to return any value. You can print in the function itself. But let me know one thing, you request an information from google so what does it do? It returns the answer of your query. That's it.
@@codeitup thanks sir I understand
Keep Learning ☺️
@@codeitup Sir, just for clarification purposes. We use return function so that even after long lines of code after the "c= a+b" code, we can obtain the desired value. Right?
@@DarpanBarua Basically return is used to return the final evaluated answer to the place from where the functions was called.
Good
Thanks🙂
sir plz nested function calling pe ek video plz...bilkul samjh ni aara
When one function is called inside another function then this is called nested function.
Hi Anand, thank you so much for this video. Ek question hai, suppose there are 3 tables, and muje kuch kuch analysis karne k baad har table se kuch columns ko delete karna hota hai.... so mai uske liye > use karta hu, mai ek function aisa banana chata hu jisme, mai file/table name likhu aur column ka nam and uss particular dataframe se vo column delete hojaye like > iske liye kaise karna padega?
Sir, is it possible to have multiple return statements within a func?
yeah we can but that will be complex