Python Functions (The Only Guide You'll Need) #12

  Рет қаралды 619,494

Programiz

Programiz

Күн бұрын

Пікірлер: 458
@programizstudios
@programizstudios 2 жыл бұрын
🔥 Learn Python with a more hands-on experience with Programiz PRO-interactive lessons, quizzes & challenges. Try Programiz PRO: bit.ly/right-python
@chiomaubaka9671
@chiomaubaka9671 Ай бұрын
Please OOP?
@W.LL1999
@W.LL1999 4 жыл бұрын
Your channel is severely underrated. You have a talent at explaining things coherently, keep up the good work.
@someshwarte9531
@someshwarte9531 3 жыл бұрын
Then you gotta spread this channel to make it more rated . He can't do anything about it. It's the people who watch this channel who can make this channel popular or not
@mchoney6905
@mchoney6905 2 жыл бұрын
honestly, very very underrated!!!!
@learn9491
@learn9491 2 жыл бұрын
And he's site is nice too.
@SakuPillai
@SakuPillai Жыл бұрын
return terminate the function and go to the calling function
@hack_shit
@hack_shit Жыл бұрын
YOu remides me Alak sir
@MrSeinfeldFan2
@MrSeinfeldFan2 3 жыл бұрын
This is by far the most clear and complete explanation of FUNCTIONS I've seen. And I have seen plenty of python for beginners videos. I specially liked the animations showing "how this program works." Believe it or not, it made the difference in my total understanding of... well.... how the program worked! Keep it up.
@Emilia-fo6bu
@Emilia-fo6bu 2 жыл бұрын
I totally agree. I have tried to understand this weeks. Finally a clear explanation
@jaynevell7306
@jaynevell7306 2 жыл бұрын
Iuoo gooo o I’m mini Ohk onhjnnnu I’ll😅my oil lol ok n hey o my Lo m Ning h lol no I’ll go 😅😅 he yn ok Kuki ny😅 Nikki looh😅n Ioiol o hi Lo Lo
@jaynevell7306
@jaynevell7306 2 жыл бұрын
I o you go
@jaynevell7306
@jaynevell7306 2 жыл бұрын
Uo hill in ole o union only o polo uu u oh n I no uni kk oil polo😅😅
@jaynevell7306
@jaynevell7306 2 жыл бұрын
Ujkhiijiljnho😅
@DamienThorn5175
@DamienThorn5175 2 жыл бұрын
Great stuff Punit ! 43 years old and learning Python. Good luck everybody.
@Bansil11
@Bansil11 Жыл бұрын
me 40 and started learning now
@cylverpilz
@cylverpilz 9 ай бұрын
Same
@rashpalsinghriat286
@rashpalsinghriat286 8 ай бұрын
Thanks for sharing age. I am 63 and just started learning. I believe Learning is for the sake of Learning. It gives me pleasure.
@DirisalaSandeepKumar
@DirisalaSandeepKumar 4 ай бұрын
im 87 and still learning , go on grand sons
@emmaholliday6330
@emmaholliday6330 3 ай бұрын
Ive just turned 40, have never done ANYTHING like this in my life, and just started learning python, coding to hopefully start a new career in IT! i love hearing other people are just starting around my age too!!
@enzy6434
@enzy6434 3 жыл бұрын
This is probably the best resource I've found for learning fundamentals of Python in an UNDERSTANDABLE way.. You have a natural ability to explain concepts in a clear, yet concise manner. The arrows and all of the visual indicators also help greatly for being able to visually see how things execute. Very high quality and hugely underrated channel.
@tolulopeadesesan4164
@tolulopeadesesan4164 2 жыл бұрын
I want to be following his tutorials, how can I go about it?
@frenchfatfather
@frenchfatfather Жыл бұрын
I learned more in this 15 minute video than what I learned from one week in school. thankyou much appreciated
@jmie5
@jmie5 4 жыл бұрын
Punit, your content is better than a lot of the paid content I have seen out there. It's well thought-out, well-explained, easy to understand, and I think I could cry at the difference, sometimes. I hope your channel blows up in popularity; it would be so well-deserved.
@nithishnagendra
@nithishnagendra Жыл бұрын
i hope it doesn't blow up with popularity or else he'll get too much pressure to overperform if u know what i mean and it's good that only some of us lnow
@DaniFifaHD
@DaniFifaHD Жыл бұрын
This is by far the best channel out there for learning Python. I'm a beginner and the way you explain things makes it so easy! Will definitely be downloading the app.
@kabayanhustler
@kabayanhustler 4 жыл бұрын
These Python tutorials are doing the world a huge favor. Keep inspiring!
@victorrivas2350
@victorrivas2350 Жыл бұрын
Very, Very, VERY GOOD explanations! I have a difficult time filling in the smaller bits of connections/explanations as to why certain things flow/execute. I appreciate how you were thoroughly explaining ALL the steps without leaving them up to the student to infer (like a lot of the study material leaves the student left to magically infer).
@aleezashahnawaz6145
@aleezashahnawaz6145 Жыл бұрын
why is this guy so good at teaching python? honestly most helpful video i have ever come across
@simonshrestha9518
@simonshrestha9518 6 ай бұрын
The only function tutorial i needed. The animation of how it works really helped.
@karolus61
@karolus61 Жыл бұрын
You're such a good teacher! because of your explanations i was able to make the code where you need to enter the marks first before it starts calculating. it took me a while thought but thanks! print ('enter your marks') mark1 = int(input('enter your first mark:')) mark2 = int(input('enter your second mark: ')) mark3 = int(input('enter your 3rd mark: ')) mark4 = int(input('enter your 4th mark: ')) mark5 = int(input('enter your 5th mark: ')) def find_average_marks(marks): sum_of_marks = sum(marks) total_subjects = len(marks) average_marks = sum_of_marks / total_subjects return average_marks def compute_grade(average_marks): if average_marks >= 80: print ('Congratulations you passed your exams with a average of', average_marks, 'your grade is A') elif average_marks >= 60: print ('congratulations you passed your exams with a average of: ', average_marks, 'your grade is B') elif average_marks >= 50: print ('congratulations you passed your exam with a average of: ', average_marks, 'your grade is C') elif average_marks
@samikshyanmishra7454
@samikshyanmishra7454 2 жыл бұрын
This is the most simplified tutorial I have ever found . You explain fucntion in a clear way
@bdank7
@bdank7 3 жыл бұрын
I really want to thank you for your videos. I was having trouble understanding the way the code works as described in my textbook. You have a way of explaining things that is easy to understand. I love how you show us the path the coding is taking. I feel like I have a deeper understanding of it now.
@Vijay_helo
@Vijay_helo Жыл бұрын
Sir the topic i have tried to read and or otherwise rote learn for the sake of exams for 100s of times, you just simplified in a 15min video! Thank you very much
@ileysmedia9024
@ileysmedia9024 2 жыл бұрын
thank you programiz i learned c and python for free on programiz website and youtube
@suhgy
@suhgy 4 жыл бұрын
Thanks! I spaced out during my class so I was confused about this concept the entire time. Came to youtube and found your video and I think I get it now
@abdulhalimabdullahi9907
@abdulhalimabdullahi9907 Жыл бұрын
this is the best guide for the python functions on yourtube, ive watched soo many tutorials but they were all confusing till i came across this video, many thanks :)
@unlock_don7647
@unlock_don7647 Жыл бұрын
This is by far one of the most clear explanation of functions I’ve ever seen and trust me I’ve seen a lot,thanks man
@christofyeramsanchezmontes2659
@christofyeramsanchezmontes2659 2 жыл бұрын
you definitely explain this better than most people in youtube and anywhere else
@iammargaritaparra
@iammargaritaparra 2 жыл бұрын
Your explanations are so clear, and simple, you are an undiscovered gem. You have a talent at explaining things.
@zyd.2419
@zyd.2419 2 жыл бұрын
What the heck, this is the most articulate python tutorial video I have ever seen! Don't mind me if binge all your videos.
@andrewthompson4228
@andrewthompson4228 2 жыл бұрын
Punit, you are a hero. What a refreshingly clear video. The production value and the pacing of your voice is perfect. I will 100% be subbing
@jameslee445
@jameslee445 Жыл бұрын
One of the easiest to understand videos, I've seen on functions. Thanks
@teecee8188
@teecee8188 Жыл бұрын
Thank God I found this video. I watched a bunch of other videos, but this is the only one that explained it in terms I could understand. Thank you!
@lakshya1003
@lakshya1003 2 жыл бұрын
The arrow animations and various type of examples made this video better than others
@anonymousmask9850
@anonymousmask9850 2 жыл бұрын
the channel where learning Python is a pleasure ,thank you!!!!
@try5800
@try5800 2 жыл бұрын
I am not able to understand function by any other video but after watching this video my doubts are crystal clear.
@kenpachicg
@kenpachicg 2 ай бұрын
Thank you for this video. This is my second attempt for a university course that uses python. I never had a clear understanding with how def functions work. The professor has to cover recursion and it makes it inconvenient to understand functions. Hopefully this helps.
@djmakneez4886
@djmakneez4886 Жыл бұрын
man, you are the best teacher out here.
@ezeihemadu7575
@ezeihemadu7575 2 жыл бұрын
This is amazing. Your explanations are so clear, concise and very basic for any beginner to clearly understand the concept. You have a new fan here.
@jorgeribeiro7419
@jorgeribeiro7419 3 жыл бұрын
Very clear .... I deliver training and you are brilliant .... Recognising the talent of other people will not diminish my talent.
@Legend-gu8uz
@Legend-gu8uz 4 жыл бұрын
Example: Compute Grade of a Student marks = ([ 55, 64, 75, 80, 65]) Sum = sum( marks ) average = Sum / 5 average = (int(average)) if average >= 80: print ("You got A Grade") print ("Your marks are" , average) if average >= 60 and average < 80: print ("You got B grade") print ("Your marks are" , average) if average >= 50 and average < 60: print ("You got C grade") print ("Your marks are" , average) if average < 50: print ("You got B grade") print ("Your marks are" , average)
@pikapika1656
@pikapika1656 3 жыл бұрын
Shouldn't the last part be you got grade F instead of Grade B as it is less than 50
@Anonymous-tt7yi
@Anonymous-tt7yi 3 жыл бұрын
also you should use elif and else on there as well
@caseyspaulding
@caseyspaulding 2 жыл бұрын
Thanks. Showing how the program works with lines and arrows really helps
@Zoom-oz1iq
@Zoom-oz1iq 4 жыл бұрын
hope you are reading this, you just saved my life in school! thank you so much you are doing gods work!!! :)
@ltherix225
@ltherix225 3 жыл бұрын
I wish I was in your school. I am trying to learn python by myself and it is very hard. :(
@areebcopycat6765
@areebcopycat6765 2 жыл бұрын
the best python tutorial i can find with subtitles excellent work
@KumudiniGandesiri
@KumudiniGandesiri Жыл бұрын
This is really a great online course which I have found for python for beginners
@Chioticfoot
@Chioticfoot 3 жыл бұрын
Dot't stop making videos your channel is the best by far thank you for your help
@mohabdulai7238
@mohabdulai7238 3 жыл бұрын
I just came across your channel today and I must say I’m highly impressed. I have been jumping from channel to channel just to understand functions and you have simply made me understand everything about it. Kudos to you. From now onwards inshaAllah, I will follow your channel everyday to know everything about python.
@dillanmistry
@dillanmistry 2 жыл бұрын
Thanks for this, the recap makes it so much more easier to understand
@Jaysalm
@Jaysalm 4 жыл бұрын
you're doing good work here i am starting to understand everything thank you very much
@RajkumarK-mb2jk
@RajkumarK-mb2jk 7 ай бұрын
def grade(tm): print("Your avarage mark is:",total_marks) if total_marks>=80: print("Grade A") elif total_marks>=60 and total_marks=50 and total_marks
@dieshimitigert6758
@dieshimitigert6758 2 жыл бұрын
damm! how so few comments? this content is gold!! Thanks you very much!
@ileysmedia9024
@ileysmedia9024 2 жыл бұрын
programing task def add_numbers(n1,n2): sum=n1+n2 return sum def mult_numbers(x,y): mult=x*y return mult num1=int(input("enter num1: ")) num2=int(input("enter num2: ")) sum=add_numbers(num1,num2) print("the sum of",num1,"and", num2, "is " , sum) mult=mult_numbers(num1,num2) print("and the product of" ,num1,"and", num2, "is " , mult, )
@divyaahirkar9183
@divyaahirkar9183 3 жыл бұрын
thanks for teaching in such an amazing way....i cognize everything and performed the programming task successfully...and i was so blissed to see my output....all thanks to u sir......keep going...i assure u that i will continue programming in my future as my passion and my job as wellll........thanks a lot again..
@trinib1
@trinib1 4 жыл бұрын
you are a teacher/messenger from the python🐍god ...i started off trying to learn python with mimo app which is great for beginners and i search all over google and youtube for basic python tutorial and you explain the best 💚💙💜
@deep_acid
@deep_acid 3 жыл бұрын
The most underrated channel I every saw... Keep up the great work, man! Thank you for all these tutorials!
@dinkinflicka157
@dinkinflicka157 2 жыл бұрын
A very beginner-friendly video, thank you for your clear explanation, thanks a lot!
@mihensakeer3575
@mihensakeer3575 2 жыл бұрын
first day here, but one of the best tutorial video I ever seen, was having issues understanding def function but thanks to you now it's gone, sharing with my friend
@bindhu152
@bindhu152 2 жыл бұрын
I've been using your website which is sooo cool and easy. My senior suggest it to almost everyone. He has cracked his interview and took a job worth 30 lpa.
@lokeswaranaruljothy8100
@lokeswaranaruljothy8100 4 жыл бұрын
Your video are awesome and helpful. I love your content and the way of teaching. It is very simple.
@arbazkhanpathan9259
@arbazkhanpathan9259 4 жыл бұрын
Thank You so much Sir. Your work means a lot to beginner like us!!
@BattiniLokesh-j6w
@BattiniLokesh-j6w 5 ай бұрын
superb brother ............ i never understood functions in programming.......... today i am absolutely ok with it
@kushsharma2189
@kushsharma2189 3 жыл бұрын
This channel and Your website is an excellent repository for learning python. Excellent work with neat and clear explanation with proper explanation.
@charles8559
@charles8559 2 жыл бұрын
def add_numbers(n1, n2): result = (n1 + n2) return result def multiply_numbers(n1, n2): result = (n1 * n2) return result number1 = int(input("Enter numbers: ")) number2 = int(input("Enter numbers: ")) result = add_numbers(number1, number2) print("The added sum is: ", result) result = multiply_numbers(number1, number2) print("The multiplied sum is: ", result) answer to the last question with an input feature.
@xyz713
@xyz713 4 жыл бұрын
def add_numbers(x,y): return x+y def multiply_numbers(x,y): return x*y print(add_numbers(10,2)) print(multiply_numbers(5,6))
@SivaReddy-rv3in
@SivaReddy-rv3in 2 жыл бұрын
This is given task answer
@balajipalanisamy1602
@balajipalanisamy1602 2 жыл бұрын
@@SivaReddy-rv3in noo
@balajipalanisamy1602
@balajipalanisamy1602 2 жыл бұрын
Same number add and multiple pannanum
@iamodhay
@iamodhay 4 жыл бұрын
Tutorial is as good as the programiz website.
@arushgupta9081
@arushgupta9081 3 жыл бұрын
At 15:24 the program could be done in this way also- marks = [55,64,75,80,65] def average(): sum_of_marks = sum(marks) average = sum_of_marks/5 print("Your average marks is {0}".format(average)) if average >= 80: print("You got grade A") elif average >= 60 and average < 80: print("You got grade B") elif average >= 50 and average > 60: print("You got grade C") else: print("You got grade F") average()
@passportbro904
@passportbro904 Жыл бұрын
Im kinda shocked, was having difficulties with functions and im only 6 minutes in and im just amazed that I understand everything his saying, yes I've heard of all the names before like parameter etc but I actually see it and understand it now. Thanks, subbed
@quayumk
@quayumk 2 жыл бұрын
You couldn’t have explained this any better, thank you
@dganesh3641
@dganesh3641 4 жыл бұрын
I agree with below- you have heped me understand much better than my University! Welldone :)
@anonymousmask9850
@anonymousmask9850 2 жыл бұрын
wow, can believe someone can explain this good, you are a really talented teacher ,continue like that!!!
@Alche__
@Alche__ 2 жыл бұрын
Thank you so much for this video! Out of all the content I've watched on Python functions yours was the most clear and understandable! Great work
@Raman-mb1gt
@Raman-mb1gt Жыл бұрын
One of best video...all topics cleared in whole video
@earnwithdavemichael1762
@earnwithdavemichael1762 2 жыл бұрын
Using the app and watching these videos just makes everything very easy, thank you for this, please keep doing the great work.
@GeoffreyOnodu
@GeoffreyOnodu Жыл бұрын
Thank you very much. You have a special knack in teaching style. Keep it up. Pls I want to watch your series on python from the beginning.
@balaclavablack4634
@balaclavablack4634 Жыл бұрын
If I can understand it from this video anyone can, brilliant job
@GaurieVerma
@GaurieVerma 3 жыл бұрын
Thank you for this! Super helpful, very clear and structured and just the right amount of details. Great work, so glad to have all these free resources online!
@georg101
@georg101 4 жыл бұрын
Well explained!!! Now I understand it!
@kiranmane4935
@kiranmane4935 3 жыл бұрын
The way you explain is 🔥🔥🔥🔥 I have seen almost 20+ plus videos none got me explaination like this channel.... I recommend this to my friends keep up sir❤️ Lot of love from Mechanical folks
@tannukumari9664
@tannukumari9664 2 жыл бұрын
Wow sir finally I got Best Channel To Lear python in eay ways you are to goos sir🔥👍 Thanks For teach us with power of your understanding skills
@stanleyhu7011
@stanleyhu7011 Жыл бұрын
Thank you very much. I successfully understand functions in Python, which were difficult for me before hearing your lecture.
@rajeshsL0ck
@rajeshsL0ck 3 жыл бұрын
Hey Punit, thank you so much, I had a lot of doubts in function, I reviewed your website and video, it was very useful and understanding.
@shabnahind2090
@shabnahind2090 2 жыл бұрын
your explation is on next level...
@mdiftekhar6876
@mdiftekhar6876 3 жыл бұрын
Only Programiz can give you QUALITY and CLARITY 💯
@BrajeshKumar-zu6jj
@BrajeshKumar-zu6jj 10 ай бұрын
I don't know how pay thanks for this Very easy and simple explanation and my all doubts are clear about the python function thanks sooooo999999... Much
@mapex311
@mapex311 Жыл бұрын
Thanks, been struggling with custom functions w multiple arguments but this seems pretty straight forward now, will hopefully just get more clearer with practice.
@AradhanaBhale
@AradhanaBhale 6 ай бұрын
Thank you so much your channel has helped me to get the correct understanding of functions
@jamvin5647
@jamvin5647 2 жыл бұрын
Thank you so much. I watched multiple videos and was struggling to understand User-Defined Functions and this video finally helped it to click in my brain. I love that you did the How It Works animation to show the logic behind it because now I get it. 😅
@jlopez8220
@jlopez8220 Жыл бұрын
Thee BEST explanation by far !!! Thank you so much !!!
@henrygraterol
@henrygraterol Жыл бұрын
Clear, progressive and simple to follow. Good job!
@harrynguyenpython2056
@harrynguyenpython2056 11 ай бұрын
This is my code for the task that he assigns in the video. I need your review, thank you! def add_number(n1,n2): result = n1 + n2 return result def multiply_number(nu1,nu2): result2 = nu1 * nu2 return result2 number1 = 50 number2 = 60 result = add_number(number1, number2) result2 = multiply_number(number1,number2) print("The sum is:", result) print("The multiply is:", result2)
@Nithika.R
@Nithika.R 29 күн бұрын
Is it correct?
@tee5798
@tee5798 3 жыл бұрын
saved me on a last minute class assignmentt!!!
@AmeerahAdegeshin
@AmeerahAdegeshin Жыл бұрын
Thank you sir for making me to understand, before I was dull in the functions of python. keep up the good work.
@Magie2527
@Magie2527 Жыл бұрын
Sir thank u for making me to clear my doubts in function... I was literally confused abt this concept... Now it's literally quite interesting..
@marashino_cherri
@marashino_cherri 2 жыл бұрын
Oh my god this helped me SOOOOO much I can't thank you enough😭😭😭
@shakirkhan-bx6pw
@shakirkhan-bx6pw 11 ай бұрын
Thank you so much, that online run python will really help me. New subscriber🌷and the best channel i ever saw. Keep it up!
@Studious-revealing
@Studious-revealing 2 ай бұрын
Simply straightforward
@Name-yu6ux
@Name-yu6ux 4 ай бұрын
found the goat after 6 years of searching!!
@Rajneeshjaswal01
@Rajneeshjaswal01 2 жыл бұрын
The most clearly explanation of this topic so far. Thankyou so much sir. 🙏❤
@piyush483
@piyush483 3 жыл бұрын
def add_numbers(a, b): sum = float(a)+float(b) return sum # Testing function # I have took the float func. because a float can be a enter by a user and float take value as integer also total = add_numbers(7,4) print(total) def multiply_numbers(a, b): Product = a*b return Product # Testing function product = multiply_numbers(6, 3) print(product) def greet(): print("Thank You sir!!") greet()
@dollysiharath4205
@dollysiharath4205 2 жыл бұрын
Best courses for beginners, better than Udemy courses.
@rajshreyaaskumar7707
@rajshreyaaskumar7707 2 жыл бұрын
this guy is actually too good but also it would be even better if he could do just like advanced python tutorials
@homeboi-k4m
@homeboi-k4m 4 ай бұрын
Thank you so much i'm understanding much better now. I'm reakky grateful this has helped me alot.
@kakairecharles3474
@kakairecharles3474 2 жыл бұрын
You are my HERO. Million thanks.
@diloeda9539
@diloeda9539 3 жыл бұрын
Thanks your notes are explicit. i wrote a prog different from yours and it worked. # create the function add number1 = int(input("enter the first number: ")) number2 = int(input("enter the second number: ")) def add_numbers(): addition = number1 + number2 return addition # create the function mult def mult_numbers(): multiplication = number1 * number2 return multiplication multiplication = mult_numbers() addition = add_numbers() print("The addition gives: ", addition) print("The multiplication gives: ", multiplication)
@harshad9203
@harshad9203 2 жыл бұрын
DUDE !!!!!!!!! i also wrote the same code but it is showing syntax error # Getting two numbers number1 = int(input('Enter the first integer: ')) number2 = int(input('Enter the second integer: ')) def add_numbers(n1, n2: result1 = n1 + n2 return result1 def mutiply_numbers(n1, n2): result2 = n1 * n2 return result2 result1 = add_numbers(number1, number2) result2 = multiply_numbers(number1, number2) print(result1) print(resul2)
@harshad9203
@harshad9203 2 жыл бұрын
showing syntax error near the return statements
@discrate
@discrate 2 жыл бұрын
@@harshad9203 ')' is missing in def add_numbers line
@olalekanakinpelu2551
@olalekanakinpelu2551 2 жыл бұрын
New discovery! Will subscribe right away. I got here through your website.
@samymmohibby3508
@samymmohibby3508 Жыл бұрын
Mate you are a king. Thank you so much.
@prakharshandilya
@prakharshandilya 8 ай бұрын
What an explanation boss! More to learn. Crisp and clear❤
Please Master These 10 Python Functions…
22:17
Tech With Tim
Рет қаралды 254 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 314 М.
Functions in Python are easy 📞
10:38
Bro Code
Рет қаралды 622 М.
Functions in Python | Introduction | Python for beginners #lec56
24:07
Jenny's Lectures CS IT
Рет қаралды 162 М.
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 431 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,8 МЛН
How To Write Better Functions In Python
14:17
Indently
Рет қаралды 56 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 136 М.
Please Master This MAGIC Python Feature... 🪄
25:10
Tech With Tim
Рет қаралды 112 М.
Python Functions | Python Tutorial for Absolute Beginners #1
30:34
Programming with Mosh
Рет қаралды 1 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН