Okay in this python programming we have this class and these objects. So we can create this class in Python using something like this. So this is our Hello module. So I can create a class method. Then I have to create a new function add a new function. So let's see I put in text here.
I will create a class variable here first x equal empty. Okay, now Okay, cell. Oh, x okay. If I want to print this Hello, I can I want to create a class I can do something like this, the Fae, praying Hello. Okay. In class we will we will always need to put a self keyword or self inside this function okay I can do something that is free okay hello.
Okay. So that's okay, let's see I want to clear Okay, based on these cross okay do something like this okay see I do mass equal Hello module message Okay then mass da green Hello. Okay, hello top message. So my in a cross here have a parameter here. So I have to put in some values so I will put in James okay and let's say I pray I run the code Now the idea is Hello James. Okay What do is call to your what is called minista ai in this untitled Python file, I create an object based on this message cross gain this message class I put in these gems here, Jane Smith value.
This James value will come to hear Okay and then you pour this value into this variable here. So this test variable will now have this Jas value. And then when I call print hello, it will print hello candy value here so you're printing Hello James case a print hello James ah let's see if I do not want to put in any values in these in it in here I can tell a kid I can't believe in something like this okay then here I will have to put in a test case okay then I will print these So now Id creddies I create this object, I will not need to put in any values in the message here. I have to put in the values here. Yeah, I couldn't run it and run the code. Again.
Hello Jim. So So, so now I create this mess okay. All men stop. We now know these functions here. Have a test variable here. So this value here will pass to here and then I will print.
Hello James also