student object is created roll no of student name no of studentajay age no of student programsdefine class rectangle using length and width it has method which can compute area class rectangledef __init__(self, , )self = self = def area(self)return self *self =rectangle( , print( area()output