All right, so welcome back again. So in this particular session, we try to see another solution to our SSIS on fire, right was creating a simple COI to calculate all of these features. Now let's see an alternative. So we use simple functions to help us solve a problem. And let's see another option of using a class right. So I'm just going to compare the same thing right into a class, I'm just going to use class, then I'm going to keep it as my cow.
Complete, right? Let's make it a lot later. Then from here, I'm just going to supply the particular argument. So let's make this one as S for the s that we have here. Then I'll create another one for the Y, right so this is a simple class option using a class as our solution. Very interesting.
So let's pass in the y very simple, so there is something something very simple we have created a simple class. Now reposition this entire stuff well under A class calculator right our class called calc, then how to change all of these things into a better format, right. So, we change all of this to something better. So, think of all of this in passing. So, something very simple right? That is another option in our change or the X or the y.
And of course, self one is just as we do in normal class. So this self is self is referring to the self. The surface that's very interesting, but it is something very basic. So with this simple core of bringing a class here, we are able to commit or create a simple cluster from the old traditional jihad. So let's call this one as simple called see that So that is all you can actually export a class, you can just go without the class by going with this option called as we have to let's save it and let's come back to them No, then run it as Python three. Then the same example that you had which was beating coxy li spun it will just help.
Now I see that it's working perfectly well. You will keep us basically so I did a synopsis samples coxy li referring to the casilla here a simple coffee like you have the way to use it to update the format in which you can use this particular stuff. And there is this description. And these are the documents right so how do you record this very simple Just come back to what you have done so far. And I can just pass in my Coke, just as we saw here, right click, just go with this particular value. So the value is going to be is going to be any number, so let's make it like 30.
Then why is going to be 20 then it gets to artists as good as with art nice to add important, very, very interesting fifth grade. Kids also want to multiply, multiply. So that is something very interesting, because I want to divide right because this is class option. In any case, I want to subtract 20 subtract 50. So that is the basic idea to see all the various factions that have been exposed and just come back to the same thing that we did. We did help them from actually passing the test in a way right just as we heard you like this Option is going to help you to see a diverse musical liquidity, there is another way of working.
So, we have our add or divide or multiply or subtract and this idea for this day, so, that is something very interesting, very simple. So, the basic idea is that you can just complete whatever tonight you have, right? The solution that we did add, subtract, multiply, divide into a class object, then you pass in these particular functions, then it gives you a colony to just push it away with a special option to call it then you supply the command, right? Very interesting, just as we did this, for the subtract for the divide for the multiply and for the other than this alternative solution metric I use, but I seem singular problem. So with with this, if I can do a lot of things. There are several ways of working in Python.
So thank you for watching, and see the next session. Stay blessed.