#32 Python Tutorial for Beginners | Functions in Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 พ.ย. 2024

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

  • @chriscruz429
    @chriscruz429 4 ปีที่แล้ว +436

    I’ve learned more from his videos than two years of paid college classes.

    • @AdityaYadav-ky2ng
      @AdityaYadav-ky2ng 4 ปีที่แล้ว +32

      So, stop bunking classes 😂

    • @zapphireqvq8954
      @zapphireqvq8954 4 ปีที่แล้ว +15

      How about code with harry?

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

      Aditya yadav
      *Ba dum tsss

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

      Zapphire QvQ
      Haven’t checked his videos out, but I will though.

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

      @@zapphireqvq8954 code with harry talk so fast it is good i also follow him but he talk fast

  • @Steve-wo5ry
    @Steve-wo5ry 5 ปีที่แล้ว +87

    I could not understand what my teacher taught in 3 months, I am understanding in 10 minutes!
    Thank you very much sir, may God bless you!👍

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

    7:34 the best explanation I have ever heard to understand types of function

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

      Yeah !!!
      M impressed

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

    Hello Sir, I never thought my brain would ever understand python this easy, thanks to you, wishing you health and happiness to you!!, also proud that I can add this to my skills as I have not learnt in my UG classes.

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

    Always coming back here after paid online lectures

  • @Mahi_452
    @Mahi_452 5 ปีที่แล้ว +63

    you explained very well which simply means that I learning programming and your words are making me more fluent with English.THANKS YOU SO MUCH

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

      As he said he wo'nt be available. Rahul

  • @arju6996
    @arju6996 5 ปีที่แล้ว +8

    English is not even this guys first language yet he can still teach better than my high school Comp Sci teacher. Thank you for the tutorials!

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

      He teaches better than my college professor lmao

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

    Sir I m telling you that your teaching skills is different from other it make me very easy to understand. Thanks a lot.

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

    Finally, someone who can explain this clearly.

  • @vidyasadansteptowardsenlig3579
    @vidyasadansteptowardsenlig3579 4 ปีที่แล้ว +7

    Sir , you are doing exceptionally good work for us who are beginners in this field.
    Your videos are really easily understandable .

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

    You are great sir
    You just made my first project within a min
    Print(“love you sir”)
    Love you sir , here it is

  • @meenakshidas9984
    @meenakshidas9984 4 ปีที่แล้ว +7

    After finishing python tutorials it will not be the end, I will go through all of your tutorials this quarantine and make myself better... Thank you so much sir ❤️❤️

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

      You got the job?

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

      @@watchwithmantri no I'm a student

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

      @@meenakshidas9984 okk you completed python??

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

      @@watchwithmantri no

    • @jihadsharef9201
      @jihadsharef9201 22 วันที่ผ่านมา

      ok 3 years later tell me what did
      @@meenakshidas9984

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

    You are a phenomenal in explaining python concepts very well :)
    Nice to have a good tutor like you

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

    Thank you for making the material so digestible, even for those of us who hate programming!!

  • @preethiyr4525
    @preethiyr4525 5 ปีที่แล้ว +15

    Very neat & clear explaination about Python functions Sir.
    Thank you.

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

    Hi Naveen, Your videos are very good and really helping to get confidence. I am working on corporate having 13 years of experience and worked only in infra structure side. So, not having experience of Coding. But want to switch to programming as well. thanks for help

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

    Awesome job you're way better than my school teacher😍

  • @gandalffury127
    @gandalffury127 5 หลายเดือนก่อน

    I ve been trying to understand what return does for a while now nobody was able to explain it in such a way i would get it, you sir just did it! Thank you a thousand times! Like and sub!

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

    Brother you make coding so much easy , you are gifted. Love from bangladesh!

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

    Thank you so much, sir. I have joined a course by google but I always watch your video for understanding more clearly.

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

    No one can explain like you🤟

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

    you can also take input from the user rather than giving your own value that can make the code more user friendly

  • @Cvsreddy-rn5st
    @Cvsreddy-rn5st 2 ปีที่แล้ว +2

    The way that ur teaching was amazing

  • @karanparwani2829
    @karanparwani2829 6 ปีที่แล้ว

    We can also do in this way:
    def hello():
    print("Byeee")
    def add_sub(a,b,x,y):
    c = a + b
    o = x - y
    return c,o
    r = add_sub(3,5,2,1)
    print(r)
    hello()

  • @Gau_10
    @Gau_10 4 ปีที่แล้ว

    Def good ():
    Print("sir is blade")
    Print("but he is good teacher")
    good()

  • @rprvk
    @rprvk 5 ปีที่แล้ว

    def add(a,b):
    c=a+b
    d=a-b
    return c,d
    result=add(10,20)
    print(result)

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

    10:24
    print(add_sub(15,6)) in just 1 line........it works

  • @b.sasikumar2141
    @b.sasikumar2141 4 ปีที่แล้ว

    Ur teaching lectures all have seldom to learn python sir tq sir for giving pleasureble cousre sir..... 👍👍

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

    May God bless you and thanks for explaining in most accurate and simple way.🙂

  • @deepshikasingh984
    @deepshikasingh984 6 ปีที่แล้ว +4

    Thank you so much navin sir.... Its fun to learn python... Ur videos makes codings interesting... 😍👌

  • @zakiasmaa6834
    @zakiasmaa6834 3 หลายเดือนก่อน

    the best explanation I have ever heard to understand types of function

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

    Copy book demo Navin. Really cool and perfect

  • @thetanix7850
    @thetanix7850 5 ปีที่แล้ว +6

    Sir your videos are very helpful thank you for making programming so easy 🔥

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

    i feel really perfect this videos to learn python beginners

  • @bharathreddy6208
    @bharathreddy6208 5 ปีที่แล้ว +62

    I'm expecting some more clarification on "return".

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

      Its confusing. Solution == check your indention

    • @huntersparky7446
      @huntersparky7446 5 ปีที่แล้ว +16

      print just simply prints the output but return process the value which you can store in a var

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

      clear & easy to understand! a mid age mom with 2 kids never touched program can understand.
      hope have some examples to know better how to use in real life.
      the internet resources always too basic or too complex for a nut like me ...thanks a lot :D

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

      Print function only print cannot assign
      Return functions print and also can assign variable to it

  • @subhayansinha4417
    @subhayansinha4417 5 ปีที่แล้ว +8

    These videos r amazingly helpful and clearly express the topic. Really like em👍👍

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

    Further Enlightenment every ten minutes I gain when my attention I give to you))))

  • @kishorsarma5092
    @kishorsarma5092 4 ปีที่แล้ว

    def add(x,y):
    C=x+y
    C1=x*y
    C2=x/y
    Print(c)
    Print(c1)
    Print(c2)
    add(5,4)
    Output also
    9
    20
    1.25

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

    Thank you very informative

  • @manowar_hossain95
    @manowar_hossain95 6 ปีที่แล้ว

    def arith(x,y):
    add=x+y
    sub=x-y
    mul=x*y
    dev=x%y
    sqr=x*x
    return add,sub,mul,dev,sqr
    print("Here is the output")
    A1=arith(10,5)
    print(A1)
    Here is the output
    (15, 5, 50, 0, 100)

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

    A big thanks for this video bro... Looked so many places to understand functions but found here.

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

    Truly one word for u- ur gem this language... 😊

  • @opinions.029
    @opinions.029 4 ปีที่แล้ว +7

    sir loved your gif right after the execution of add function 😜
    best teacher though 💯

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

    Having mandatory volunteers in python makes it 100x better

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

    Hey Navin, thanks for your tutorials on python. This by far has been the easiest to understand videos on python for me.

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

    You are amazing.. Your explainations are more better then the school PDFs

    • @kartikey21-10
      @kartikey21-10 2 ปีที่แล้ว

      in which class you are ?

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

    Very Interesting Videos on python

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

    Sir, thanks for this video because I was having some doubts in function topic, but now all doubts are clear 😊

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

    No need of giving result1 and result 2 ....
    Just one is enough
    Anyway nice lecture ❤️

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

    def myfun():
    print("Thank You Very much sir")
    while True:
    myfun()

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

    Thank you so much for teaching us on easiest way,sir much love!

  • @NehaSingh-bf1pc
    @NehaSingh-bf1pc 4 ปีที่แล้ว

    A common problem in user interface involves imposing a stable order upon elements displayed upon a page. While the initial order is easy to specify, keeping it consistent with user actions is interesting.
    Take for example a menu structure that looks something like this :
    Apple
    Sour
    Green
    Red
    Banana
    Ripe
    Raw
    Fried
    Spicy
    Sweet
    Salted
    Cats
    Large
    Black
    White
    Small
    Grey
    Striped
    Now imagine an operation on this structure that drag-drops an element from any position to any position in the tree.
    For example, moveBelow(Apple/Red, Banana/Fried/Spicy).
    The (strange) new tree after this operation looks as shown below. The Red element is now sitting under Banana/Fried/Spicy as specified.
    Apple
    Sour
    Green
    Banana
    Ripe
    Raw
    Fried
    Spicy
    Red
    Sweet
    Salted
    Cats
    Large
    Black
    White
    Small
    Grey
    Striped
    Note that it is possible to move not just leaf elements but also subtree, as in moveBelow (Banana/Fried, Cats/Small). This yields an even stranger tree as shown below. The entire Fried submenu is now placed after Cats/Small, on the path Cats/Fried.
    Apple
    Sour
    Green
    Banana
    Ripe
    Raw
    Cats
    Large
    Black
    White
    Small
    Grey
    Striped
    Fried
    Spicy
    Red
    Sweet
    Salted
    Implement a data structure to represent the menu, and the function moveBelow (fromPath, belowPath)
    Use any programming language you like. The function should operate upon the data structure and leave it in a correct state after it is done; it should be possible to see the order (and path!) of each element in the datastructure.
    ----------//// can any one help me with this program...

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

    That's a great work done by you sir it's helping every one a lot for learning quickly python thank you so much sir 🙏🏻🙏🏻 it's also like a rivision for me because I learned python earlier but it's not that clear in my mind like you did now all the concepts and basics I learnt to see your great and very interesting videos thank you so much sir for making videos like this 🙏🏻🙏🏻😊

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

    This is fun and I am enjoying it. Sir....Thank you sooo much. You have made this even more interesting.

  • @lucasvandelogt5126
    @lucasvandelogt5126 5 ปีที่แล้ว +6

    Thank you for explaining! This definitely helped in my exam :)

  • @RahulGupta-ly2uu
    @RahulGupta-ly2uu 6 ปีที่แล้ว +3

    I always get something from your videos
    Sir just tell me in python always i have seen that in the function arguments there is always a self keyword used
    why it is used?
    I think u should teach a self usage in next video.
    Babye.....

  • @gyanesh8410
    @gyanesh8410 4 ปีที่แล้ว

    Gr8 man!!!
    I had not been able to understand return by my school teachers but now u made things clear and v simple!😄👍

  • @deepika.r8098
    @deepika.r8098 5 ปีที่แล้ว +3

    Thank you sir very useful video

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

    Thanks for the great explanation!

  • @immanuelmathari4862
    @immanuelmathari4862 4 ปีที่แล้ว

    you are waaaayyyyy better than W3schools

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

    Waooo sir thankuuuuuu for awesome tutorial

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

    Thank you very much. You are a genius.

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

    Hi sir, In c execution starts from main(), in python execution starts from?

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

    I am really happy with your detail explanation...Thank You.

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

    This is very helpful...... Thank you sir

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

    sir great job !!!!! thanks a lot ...

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

    Just Lovely! You're the light

  • @kirankumar-re4yg
    @kirankumar-re4yg 5 ปีที่แล้ว +2

    Its really Awesome

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

    THANKYOU VERY MUCH THIS VIDEO HAS REALLY HELPED ME

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

    god bless you....with gud health

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

    I like your video sir.Neat and clear explanation your examples are awesome .

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

    thank you so much sir the way u explained functions in this session was simply awesome

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

    The way of your explanation outstanding and in point of view out of the world love you sir from button of my heart 💓 amazing 👌

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

    I’m not getting what’s the difference between return and print as we are getting the same output from both.

  • @mahap3419
    @mahap3419 4 ปีที่แล้ว

    sir ,i would suggest u to provide a homework task after every video .That might help us to be more intrested to learn python

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

    excellent sir blessing upon u

  • @raghula.s2882
    @raghula.s2882 ปีที่แล้ว +1

    Hello sir my name is Raghul 😂 i cama to clear a doubt but you clearly explained with my name thank you sir ❤

  • @moazelsawaf2000
    @moazelsawaf2000 5 ปีที่แล้ว +8

    Thanks a lot sir ❤

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

    Thank you sir for your valuable work.💫

  • @astridcifuentes6633
    @astridcifuentes6633 4 ปีที่แล้ว +6

    finally, I could understand. Thank youuuuuuu

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

    Sir I'm ur big fan sir .....ur making the concept very clear and thank you soo much sir for awesome videos...♥️

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

    You made it easy to understand, tq :)

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

    Reallyyyy....superbb class❤️❤️❤️❤️❤️❤️❤️🤩🤩🤩🤩🤩🔥🔥🔥🔥🔥interesting...too...,the way of your explanation is.....really simple and humble so everyone can understand those topics very easily😍😍😍😍god bless you sir🙌🙌🙌🙌god bless you more and more😊🌸🌸🌸

  • @687r45dfg
    @687r45dfg 4 ปีที่แล้ว

    def add(p,q):
    v=(int(input())+int(input()))
    t=(p-q)
    return v,t
    result=add(2,2)
    print(result)
    Here I am not using 2 variables in 2nd last and even last print line but it's not affecting the result..

  • @shazs8178
    @shazs8178 4 ปีที่แล้ว

    really the way you explain is Splendid

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

    Thank u sir for existing

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

    thank you so much sir for teaching us.

  • @-MayurDewangan
    @-MayurDewangan 3 ปีที่แล้ว

    print('Sir , we love your emoji you used in this videos , the first revealation of it was surprising as it was a celebration and its good to see something like this in a video ')

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

    Sir, make an video on various plugins in PyCharm it should be useful.

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

    I am learning urs teaching so amazing😍

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

    Your cartoon character was excellent sir😂😂

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

    thanks Navin it is clear

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

    def x():
    import os
    v1 = "Thank you"
    v2 = "Sir"
    print(v1 + os.linesep + v2)
    x()

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

    Hello sir , can you please explain what a return statement in python is..

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

    Thanks

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

    Super video Siru Thai is very helpful myself

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

    Exellent explaination of return

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

    Everything is so easy with python

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

    Thank you so much sir.
    Very informative....
    subscribed

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

    you are a great teacher