at the time of the construction creation, we write:-
def__init__(self,pname,clg):
self.name=pname
self.colldge=clg…
so what happening on doing self.name=pname …mtlb how it get value
and second thing …
at the time of function creation or constructor creation, self keyword is compulsory
2