Okay, in Python programming we have this function omega so I function for these C for Python programming functions allow us to let's see how we use our use our coding course in the bytom project. So to let's say, create a function can do something like this. In Python, we do something that is sci fi. I say, Hello. Okay. Then play.
Hello. Okay. Okay, then I can call this function Hello a few times in our pike copes. Okay, let's say I run this program as you'll see to Hello here. So I can also call Hello in some other place on the whole Python code. So we can record this are we using programming?
And we can also I see, for petitions we can in parameters or what they call the arguments. So I can enter in se x. Okay, then I can go and then maybe James and I maybe can Okay, then I run the Python code. Okay, I get Hello James. Hello Ken. So I will say As usual these values are the parameters James, James is passed to here.
And then from this test is passed to here. So when we print this Hello function it calls a printed Hello James and hello Okay. Then in our python programming our functions can also return something. So let's see if I want to maybe I will create another function to make a more clear. So maybe I can I see the fine see subtraction okay and I have a and b. here i can return see, a minus p okay then I can call question here. Okay, subtraction, maybe two, four.
I ran these colada should not be any tea. Okay? I have no caddy result from these are subtraction. So let's see, I want to get a result is our result equal okay then I will bring this result. Okay, three days off. Okay then I run this code I oh god negative two.
So for this subtraction, two is possible here and then four is possible here So, two minus four is negative two k then I return these are negative two And negative two is assigned to this result variable. And then I print this result here so I get negative