অবজেক্টকে ডিলেট করা
class School:
schoolname='Dhaka University'
#========== Add Method To A Class ===========#
def headMasterName(self,hmname):
print(hmname)
#============ Create Object ===================#
ob = School()
del ob
print(ob)
Output 👍
NameError: name 'ob' is not defined
Last updated