Python 3 Programming Tutorial – Function Parameters




The idea of function parameters in Python is to allow a programmer who is using that function, define variables dynamically within that function.

Sample code for this basics series:

Python 3 Programming tutorial Playlist:

In this python 3 programming basics tutorial, the topic of function parameters is discussed.

Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6

source

22 thoughts on “Python 3 Programming Tutorial – Function Parameters”

  1. VERY USEFUL,
    Your ausome, keep making these ausome tutorials.
    BTW do you know where i can find lists with all the built in functions and if possible also Tkinter, Pygame,… function?

  2. hey

    i just wanted to say that when i was learning python , your videos were to the point and concise, whereas the ones i make seem a bit waffly looking back on it. apart from using your videos as a learning tool, its also helped me to make better, more straight to the point and less waffly ones! so i just wanted to say thanks really! keep up the great work your doing! 🙂

  3. Does anyone to solve this programm? f1(n) returns the list of all pairs of numbers less than n and their squares,
    e.g. f1(5) returns [(0,0)(0,1)(2,4)(3,9) (4,16)]

  4. hey!,
    i wrote somethng like this

    def simple_add(n1,n2):
    sum1 = n1+n2
    print('the sum is',sum1)

    simple_add(5,6)

    i'm getting the result as follows
    ('the sum is', 11)

    im using the linux terminal by using command
    python file.py

  5. Hey SentDex!I have a little question about functions… I sometimes use the return keyword to end my functions and put the result in a variable, but I've heard of a similar keyword called yield and I can't really get how it works… Haelp pls 8)

  6. please teach me how to code this one. given N then return x^2 + y which is equal to N.
    I even want it to x^2 in A column and y in B column.

Leave a Reply