<filename>Class object/class-const.py
class Myclass:
    def __init__(self):
        print("hello from init() function [constructor] ")
    def fun(self):
        print("hello from fun() function")

obj = Myclass()
obj.fun()


<filename>Class object/class-const.py
class Myclass:
    def __init__(self):
        print("hello from init() function [constructor] ")
    def fun(self):
        print("hello from fun() function")

obj = Myclass()
obj.fun()

