#33 Python Tutorial for Beginners | Function Arguments in Python

///#33 Python Tutorial for Beginners | Function Arguments in Python

#33 Python Tutorial for Beginners | Function Arguments in Python

FavoriteLoadingAdd to favorites

Python Tutorial to learn Python programming with examples
Complete Python Tutorial for Beginners Playlist :
Python Tutorial in Hindi :

Github :-

Editing Monitors :

Check out our website:

Follow Telusko on Twitter:

Follow on Facebook:
Telusko :
Navin Reddy :

Follow Navin Reddy on Instagram:

Subscribe to our other channel:
Navin Reddy :
Telusko Hindi :

Donation:
PayPal Id : navinreddy20
Patreon : navinreddy20

source

By |2020-09-18T09:31:41+00:00September 18th, 2020|Python Video Tutorials|33 Comments

33 Comments

  1. Anthony September 18, 2020 at 9:31 am - Reply

    This is little bit confusing can u make it more clear pass by Val — pass by ref

  2. Atharv Pathak September 18, 2020 at 9:31 am - Reply

    In my very honest opinion, belonging to a non-IT field (and also Python being the first language I am learning, and this playlist being my first source for it), I think you are losing the touch from the last video sir. This series of videos started off great, but I am not able to understand and grasp some things now. Please focus more on clearing the concepts rather than your fluency or other things. A big thank you for all the videos until now. You are the reason I got hooked to Python, but please clarify better. Thanks.

  3. Katru Lavanya September 18, 2020 at 9:31 am - Reply

    I feel not clear… 😕☹ī¸đŸ™„

  4. Teja Sai September 18, 2020 at 9:31 am - Reply

    Dude u r confusing đŸ¤ĻđŸģ‍♂ī¸

  5. GCE LE413 September 18, 2020 at 9:31 am - Reply

    sorry sir i cant understand this.can u please add another video for this concept

  6. 39 Fathima Saja _S September 18, 2020 at 9:31 am - Reply

    your code is not working for me

  7. dare devil September 18, 2020 at 9:31 am - Reply

    sir,I can't able to understand this concept

  8. Saurabh Negi September 18, 2020 at 9:31 am - Reply

    Sir i am not able to understand this concept. Big fan of yours

  9. divya bunny September 18, 2020 at 9:31 am - Reply

    Thank you sooooo much bro for the tutorial this is very Understandable and useful 😇

  10. Ritesh Jaiswal September 18, 2020 at 9:31 am - Reply

    God better best

  11. Pawan kaushik September 18, 2020 at 9:31 am - Reply

    @2.00 ,technically 10 should b printed ,why it does print 8..nt gettin it

  12. Chinnu Eswar September 18, 2020 at 9:31 am - Reply

    Sir,
    I cannot understand why the output of both the prints is same even though we are changing the element 1 in list in update(list) . Please kindly reply my comment

  13. ii. B. Sasi kumar Raju September 18, 2020 at 9:31 am - Reply

    I'm Immensly Addicted to ur teaching videos sir thank for teaching us…..

  14. avinash murthy September 18, 2020 at 9:31 am - Reply

    Can u explain this concept again…

  15. Faisal Nazik September 18, 2020 at 9:31 am - Reply

    bakwassss

  16. Aastha Sharma September 18, 2020 at 9:31 am - Reply

    Thank you!

  17. Tokay September 18, 2020 at 9:31 am - Reply

    ALMOST AT 1M

  18. Techy World!!! September 18, 2020 at 9:31 am - Reply

    sir,do u really love the variable (x)😂😂.we also love(xx….)🤐 one….

  19. Dishant Kumbhar September 18, 2020 at 9:31 am - Reply

    Sir we need a separate video on pass by value and pass by reference, as we didn't understood the concept .

  20. Atharva Chourasia September 18, 2020 at 9:31 am - Reply

    best python tutorial

  21. Hamza Shahzad September 18, 2020 at 9:31 am - Reply

    Unable to get the concept

  22. Prathamesh Satyarthi September 18, 2020 at 9:31 am - Reply

    if interviewer ask me if we not use pass by value nor reference in python then what you use? Then in that case what should be my answer

  23. Sreeram Meka September 18, 2020 at 9:31 am - Reply

    What is the memory address of elements in a list?
    Why is it printing only one memory address for multiple elements in a list?
    How does the elements in a list gets stored in memory? Does it store the element at index 0 at the printed location, and element at index 1 at memory[0]+1 something like that?

  24. brandon tan September 18, 2020 at 9:31 am - Reply

    Pass by value:
    (creation of another container with the same value —> now we have 2 containers with the same value —-> they are independent of each other, changing the value inside one container does not change the value inside the other container)
    Value is passed, resulting in 2 separate locations in the memory storing the same value. Therefore, a change in the 'copied' value will not affect the original value because they are inhabiting separate memory locations.

    Pass by reference:
    (there is no creation of a new container, this is just aliasing)
    Pointing the function to the memory location of the data/value you are passing. In other words, no copying of values are actually taking place. So there really is only one memory location storing one value. This is basically aliasing. So a change in one of the aliases will obviously affect the value of the other aliases because they are the same thing.

    In Python:
    When you pass a variable with its value into a function, if its value is not changed by the function, reference (physical location / address on memory) is not changed. So at this point, there is no creation of a new memory (container). But as soon as the function changes the value of the argument, a new memory is created, so now you have 2 containers holding different values. But this is only for immutable (cannot be mutated/modified/changed) datatypes like integers and strings. But if you pass in a mutable datatype like a list into the function and change its value, since it is mutable, the data can be updated/changed in-situ (without the creation of a new memory). This results in still just one memory location, but with an updated value stored in it.

  25. Prashant Darade September 18, 2020 at 9:31 am - Reply

    I'm from non IT field, till video 32 i understand all concept but in this video not getting any concept clearly and easy, so can you please explain simple way

  26. Sri Harsha September 18, 2020 at 9:31 am - Reply

    I think ur focusing on the fluency, than explanation of the concept

  27. Sri Harsha September 18, 2020 at 9:31 am - Reply

    To be Slower a bit, can't grasp… How much knowledge u have will not consider, if ur not able to make others understand

  28. Kisan Manila September 18, 2020 at 9:31 am - Reply

    Hi Naveen, I believe, I did not get . I will go through again and again. But seems it need some more explanation along with more examples.

  29. Gaurav Malhotra September 18, 2020 at 9:31 am - Reply

    i made it a bit complicated sir..but i m enjoying it…loved your way of teaching

    #-—CALLING A FUNCTION TO UPDATE A VALUE–

    #-–OBJECTS ARE IMMUTABLE but list is mutable—

    #-–THERE IS NO CALL BY VALUE OR CALL BY REFERENCE IN PYTHON—

    def update(x,lst):

    print(id(x))

    x=8

    print(id(x))

    lst1= lst

    lst1[1]=2

    print('the value of x is: ',x)

    print(lst1)

    a=int(input("enter the no u want to update :"))

    print(id(a))

    lst=array('i',[])

    n=int(input('enter the no of items you want in the list'))

    for i in range(n):

    y=int(input("enter the no to be added to the list :"))

    lst.append(y)

    print(lst)

    update(a,lst)

    print(" the value of a is : ",a)

  30. E tech tamil September 18, 2020 at 9:31 am - Reply

    Oru mannu puriyala…

  31. Anuj tiwari September 18, 2020 at 9:31 am - Reply

    Sir u are reallly amazing 💓💓💓🤩🤩🤩

  32. Ganesh Mane September 18, 2020 at 9:31 am - Reply

    Thank you

  33. Abhijit Sahoo September 18, 2020 at 9:31 am - Reply

    sir I m very much impresed by your teaching. I have also learned the concept of blockchain from you . I want the video tutorials of the mascot u have made for you that is appearing in videos.

Leave A Comment

*