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:B
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