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

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025

ความคิดเห็น • 459

  • @programizstudios
    @programizstudios  2 ปีที่แล้ว +38

    🔥 Learn Python with a more hands-on experience with Programiz PRO-interactive lessons, quizzes & challenges.
    Try Programiz PRO: bit.ly/right-python

  • @W.LL1999
    @W.LL1999 4 ปีที่แล้ว +305

    Your channel is severely underrated. You have a talent at explaining things coherently, keep up the good work.

    • @someshwarte9531
      @someshwarte9531 3 ปีที่แล้ว +7

      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 ปีที่แล้ว +2

      honestly, very very underrated!!!!

    • @learn9491
      @learn9491 2 ปีที่แล้ว +3

      And he's site is nice too.

    • @SakuPillai
      @SakuPillai ปีที่แล้ว

      return terminate the function and go to the calling function

    • @hack_shit
      @hack_shit ปีที่แล้ว +1

      YOu remides me Alak sir

  • @MrSeinfeldFan2
    @MrSeinfeldFan2 3 ปีที่แล้ว +224

    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😅

  • @enzy6434
    @enzy6434 3 ปีที่แล้ว +14

    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?

  • @DamienThorn5175
    @DamienThorn5175 2 ปีที่แล้ว +35

    Great stuff Punit !
    43 years old and learning Python. Good luck everybody.

    • @Bansil11
      @Bansil11 ปีที่แล้ว +2

      me 40 and started learning now

    • @cylverpilz
      @cylverpilz 9 หลายเดือนก่อน +1

      Same

    • @rashpalsinghriat286
      @rashpalsinghriat286 7 หลายเดือนก่อน +1

      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 3 หลายเดือนก่อน +3

      im 87 and still learning , go on grand sons

    • @emmaholliday6330
      @emmaholliday6330 2 หลายเดือนก่อน

      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!!

  • @jmie5
    @jmie5 4 ปีที่แล้ว +47

    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 ปีที่แล้ว +1

      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

  • @frenchfatfather
    @frenchfatfather ปีที่แล้ว +13

    I learned more in this 15 minute video than what I learned from one week in school. thankyou much appreciated

  • @kabayanhustler
    @kabayanhustler 3 ปีที่แล้ว +10

    These Python tutorials are doing the world a huge favor. Keep inspiring!

  • @DaniFifaHD
    @DaniFifaHD ปีที่แล้ว +9

    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.

  • @karolus61
    @karolus61 ปีที่แล้ว +1

    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

  • @aleezashahnawaz6145
    @aleezashahnawaz6145 ปีที่แล้ว +2

    why is this guy so good at teaching python? honestly most helpful video i have ever come across

  • @ileysmedia9024
    @ileysmedia9024 2 ปีที่แล้ว +2

    thank you programiz i learned c and python for free on programiz website and youtube

  • @victorrivas2350
    @victorrivas2350 ปีที่แล้ว +10

    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).

  • @simonshrestha9518
    @simonshrestha9518 6 หลายเดือนก่อน +2

    The only function tutorial i needed. The animation of how it works really helped.

  • @samikshyanmishra7454
    @samikshyanmishra7454 2 ปีที่แล้ว +1

    This is the most simplified tutorial I have ever found . You explain fucntion in a clear way

  • @bdank7
    @bdank7 3 ปีที่แล้ว +9

    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.

  • @andrewthompson4228
    @andrewthompson4228 2 ปีที่แล้ว +1

    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

  • @abdulhalimabdullahi9907
    @abdulhalimabdullahi9907 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

    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

  • @Vijay_helo
    @Vijay_helo ปีที่แล้ว +2

    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

  • @zyd.2419
    @zyd.2419 2 ปีที่แล้ว +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.

  • @teecee8188
    @teecee8188 ปีที่แล้ว +1

    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!

  • @jameslee445
    @jameslee445 ปีที่แล้ว +1

    One of the easiest to understand videos, I've seen on functions. Thanks

  • @anonymousmask9850
    @anonymousmask9850 2 ปีที่แล้ว +2

    the channel where learning Python is a pleasure ,thank you!!!!

  • @christofyeramsanchezmontes2659
    @christofyeramsanchezmontes2659 2 ปีที่แล้ว +2

    you definitely explain this better than most people in youtube and anywhere else

  • @suhgy
    @suhgy 4 ปีที่แล้ว +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

  • @iammargaritaparra
    @iammargaritaparra 2 ปีที่แล้ว +3

    Your explanations are so clear, and simple, you are an undiscovered gem. You have a talent at explaining things.

  • @lakshya1003
    @lakshya1003 2 ปีที่แล้ว +1

    The arrow animations and various type of examples made this video better than others

  • @kenpachicg
    @kenpachicg 2 หลายเดือนก่อน +1

    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.

  • @trinib1
    @trinib1 4 ปีที่แล้ว +3

    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 💚💙💜

  • @areebcopycat6765
    @areebcopycat6765 2 ปีที่แล้ว +1

    the best python tutorial i can find with subtitles excellent work

  • @jorgeribeiro7419
    @jorgeribeiro7419 3 ปีที่แล้ว +2

    Very clear .... I deliver training and you are brilliant .... Recognising the talent of other people will not diminish my talent.

  • @Jaysalm
    @Jaysalm 4 ปีที่แล้ว +8

    you're doing good work here i am starting to understand everything thank you very much

  • @try5800
    @try5800 2 ปีที่แล้ว +2

    I am not able to understand function by any other video but after watching this video my doubts are crystal clear.

  • @KumudiniGandesiri
    @KumudiniGandesiri ปีที่แล้ว +1

    This is really a great online course which I have found for python for beginners

  • @ezeihemadu7575
    @ezeihemadu7575 2 ปีที่แล้ว +3

    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.

  • @djmakneez4886
    @djmakneez4886 ปีที่แล้ว +1

    man, you are the best teacher out here.

  • @caseyspaulding
    @caseyspaulding 2 ปีที่แล้ว +1

    Thanks. Showing how the program works with lines and arrows really helps

  • @dillanmistry
    @dillanmistry 2 ปีที่แล้ว +2

    Thanks for this, the recap makes it so much more easier to understand

  • @dinkinflicka157
    @dinkinflicka157 2 ปีที่แล้ว +2

    A very beginner-friendly video, thank you for your clear explanation, thanks a lot!

  • @lokeswaranaruljothy8100
    @lokeswaranaruljothy8100 4 ปีที่แล้ว +3

    Your video are awesome and helpful. I love your content and the way of teaching. It is very simple.

  • @Chioticfoot
    @Chioticfoot 3 ปีที่แล้ว +2

    Dot't stop making videos your channel is the best by far thank you for your help

  • @bindhu152
    @bindhu152 2 ปีที่แล้ว +1

    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.

  • @arbazkhanpathan9259
    @arbazkhanpathan9259 4 ปีที่แล้ว +5

    Thank You so much Sir. Your work means a lot to beginner like us!!

  • @Zoom-oz1iq
    @Zoom-oz1iq 4 ปีที่แล้ว +8

    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. :(

  • @deep_acid
    @deep_acid 3 ปีที่แล้ว

    The most underrated channel I every saw... Keep up the great work, man! Thank you for all these tutorials!

  • @mihensakeer3575
    @mihensakeer3575 2 ปีที่แล้ว +1

    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

  • @divyaahirkar9183
    @divyaahirkar9183 3 ปีที่แล้ว +2

    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..

  • @dieshimitigert6758
    @dieshimitigert6758 2 ปีที่แล้ว +2

    damm! how so few comments? this content is gold!! Thanks you very much!

  • @Legend-gu8uz
    @Legend-gu8uz 4 ปีที่แล้ว +11

    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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      also you should use elif and else on there as well

  • @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

  • @mohabdulai7238
    @mohabdulai7238 2 ปีที่แล้ว

    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.

  • @BattiniLokesh-j6w
    @BattiniLokesh-j6w 5 หลายเดือนก่อน

    superb brother ............ i never understood functions in programming.......... today i am absolutely ok with it

  • @Raman-mb1gt
    @Raman-mb1gt ปีที่แล้ว

    One of best video...all topics cleared in whole video

  • @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

  • @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.

  • @dganesh3641
    @dganesh3641 4 ปีที่แล้ว +1

    I agree with below- you have heped me understand much better than my University! Welldone :)

  • @kushsharma2189
    @kushsharma2189 3 ปีที่แล้ว +1

    This channel and Your website is an excellent repository for learning python. Excellent work with neat and clear explanation with proper explanation.

  • @shakirkhan-bx6pw
    @shakirkhan-bx6pw 10 หลายเดือนก่อน

    Thank you so much, that online run python will really help me. New subscriber🌷and the best channel i ever saw. Keep it up!

  • @ileysmedia9024
    @ileysmedia9024 2 ปีที่แล้ว +8

    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, )

  • @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

  • @georg101
    @georg101 4 ปีที่แล้ว +5

    Well explained!!! Now I understand it!

  • @jlopez8220
    @jlopez8220 ปีที่แล้ว

    Thee BEST explanation by far !!! Thank you so 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.

  • @AmeerahAdegeshin
    @AmeerahAdegeshin ปีที่แล้ว

    Thank you sir for making me to understand, before I was dull in the functions of python. keep up the good work.

  • @AradhanaBhale
    @AradhanaBhale 6 หลายเดือนก่อน

    Thank you so much your channel has helped me to get the correct understanding of functions

  • @quayumk
    @quayumk 2 ปีที่แล้ว +1

    You couldn’t have explained this any better, thank you

  • @farzanabatool2728
    @farzanabatool2728 2 ปีที่แล้ว +1

    Very nice one..... Precise and to the point
    Thank you sir
    The way you explain is too good👍

  • @Rajneeshjaswal01
    @Rajneeshjaswal01 2 ปีที่แล้ว

    The most clearly explanation of this topic so far.
    Thankyou so much sir. 🙏❤

  • @stanleyhu7011
    @stanleyhu7011 ปีที่แล้ว

    Thank you very much. I successfully understand functions in Python, which were difficult for me before hearing your lecture.

  • @Studious-revealing
    @Studious-revealing 2 หลายเดือนก่อน

    Simply straightforward

  • @anonymousmask9850
    @anonymousmask9850 2 ปีที่แล้ว

    wow, can believe someone can explain this good, you are a really talented teacher ,continue like that!!!

  • @henrygraterol
    @henrygraterol ปีที่แล้ว

    Clear, progressive and simple to follow. Good job!

  • @prakharshandilya
    @prakharshandilya 7 หลายเดือนก่อน

    What an explanation boss!
    More to learn.
    Crisp and clear❤

  • @rajeshsL0ck
    @rajeshsL0ck 3 ปีที่แล้ว +1

    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...

  • @c.zephyrinsinnappar4820
    @c.zephyrinsinnappar4820 ปีที่แล้ว

    Very, Very, VERY GOOD explanations!Thank you.God Bless

  • @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. 😅

  • @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

  • @shikharbhardwaj1352
    @shikharbhardwaj1352 10 หลายเดือนก่อน

    Such a clear explaination ..I understood clearly

  • @homeboi-k4m
    @homeboi-k4m 3 หลายเดือนก่อน

    Thank you so much i'm understanding much better now.
    I'm reakky grateful this has helped me alot.

  • @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.

  • @RajkumarK-mb2jk
    @RajkumarK-mb2jk 6 หลายเดือนก่อน +2

    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

  • @olalekanakinpelu2551
    @olalekanakinpelu2551 2 ปีที่แล้ว

    New discovery! Will subscribe right away. I got here through your website.

  • @harrynguyenpython2056
    @harrynguyenpython2056 11 หลายเดือนก่อน +2

    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 21 วันที่ผ่านมา

      Is it correct?

  • @mytechybrother5774
    @mytechybrother5774 ปีที่แล้ว

    You are Just Great ❤❤❤
    Best Explanation Sir

  • @soothingrelaxo
    @soothingrelaxo ปีที่แล้ว

    Thank you very much
    really you are a good and extraordinary tutor who helps any one with scratch explanation keep it up 👍💐

  • @motarski
    @motarski 3 ปีที่แล้ว +3

    I am so happy I found this channel. Great coaching skills, thanks for sharing.

  • @ninja_sugarr_333
    @ninja_sugarr_333 2 ปีที่แล้ว +1

    Oh my god this helped me SOOOOO much I can't thank you enough😭😭😭

  • @BrajeshKumar-zu6jj
    @BrajeshKumar-zu6jj 9 หลายเดือนก่อน

    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

  • @balaclavablack4634
    @balaclavablack4634 ปีที่แล้ว

    If I can understand it from this video anyone can, brilliant job

  • @kakairecharles3474
    @kakairecharles3474 2 ปีที่แล้ว

    You are my HERO. Million thanks.

  • @zubairshaikh8444
    @zubairshaikh8444 2 ปีที่แล้ว

    Superb explanation. Learned immediately!!! Thanks brother for sharing this knowledge.

  • @mchoney6905
    @mchoney6905 2 ปีที่แล้ว

    damn!!! this is the best python tut to come across. you are blessed, sir!

  • @vishnusai0425
    @vishnusai0425 2 ปีที่แล้ว

    I love this brand, very helpful........

  • @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..

  • @mdiftekhar6876
    @mdiftekhar6876 3 ปีที่แล้ว

    Only Programiz can give you QUALITY and CLARITY 💯

  • @GaurieVerma
    @GaurieVerma 3 ปีที่แล้ว +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!

  • @iamodhay
    @iamodhay 4 ปีที่แล้ว +5

    Tutorial is as good as the programiz website.

  • @JohnWickXD
    @JohnWickXD ปีที่แล้ว

    Wonderful teaching♥️