#PYTHON PROGRAM TO DEFINE A CLASS AND INSTANTIATE AN OBJECT
class Employee:
def __init__(self, name, place): #similr to constructor(Java)
self.name = name
self.place = place
def employee_Details(self): # method in Employee class
print("Hello, my name is", self.name,"and I am from :",self.place)
On this page of the site you can watch the video online What is a class in python? with a duration of hours minute second in good quality, which was uploaded by the user PythonEnthusiasts 01 January 1970, share the link with friends and acquaintances, this video has already been watched 37 times on youtube and it was liked by 1 viewers. Enjoy your viewing!