Examveda

What is delattr(obj,name) used for?

A. To print deleted attribute

B. To delete an attribute

C. To check if an attribute is deleted or not

D. To set an attribute

Answer: Option B


This Question Belongs to Python Program >> Classes And Objects In Python

Join The Discussion

Related Questions on Classes and Objects in Python